This is a migrated thread and some comments may be shown as answers.

ChartMarkedZone

2 Answers 62 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 12 Apr 2011, 09:32 PM

I am using a vertical bar chart and want to be able to set the value of the start and end value of ChartMarkedZone, is that posible in the code behind?

I am using version: Telerik WebUI VSExtensions   2011.01.315.0

Thanks

2 Answers, 1 is accepted

Sort by
0
Accepted
Tsvetie
Telerik team
answered on 18 Apr 2011, 09:27 AM
Hi John,
You should not have problems specifying the chart marked zones in code behind. For example:
ChartMarkedZone greenZone = new ChartMarkedZone();
greenZone.ValueStartY = 0;
greenZone.ValueEndY = 3;
greenZone.Appearance.FillStyle.MainColor = System.Drawing.Color.Green;
 
RadChart2.PlotArea.MarkedZones.Add(greenZone);

For additional information on marked zones, please refer to the following resources:

Greetings,
Tsvetie
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
John
Top achievements
Rank 1
answered on 19 Apr 2011, 02:40 PM
thanks
Tags
Chart (Obsolete)
Asked by
John
Top achievements
Rank 1
Answers by
Tsvetie
Telerik team
John
Top achievements
Rank 1
Share this question
or