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

Query Related To Point Chart

1 Answer 44 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Kapil
Top achievements
Rank 1
Kapil asked on 25 Mar 2013, 01:38 PM
How do we apply more than two colors for Point chart background?
We saw only two colors can be applied using MainColor and SecondColor in the Chart  Appearence Section .
Our Requirement is to apply four diffrent  colors with gradiant background.
Please let us know any work around it.

1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 28 Mar 2013, 08:43 AM
Hi,

One possible option in your case would be to use marked zones. This is demonstrated in the code snippet below:

void RadChart1_BeforeLayout(object sender, EventArgs e)
   {
       ChartMarkedZone item = new ChartMarkedZone("zone1");
       item.ValueStartY = 2;
       item.ValueEndY = 4;
       RadChart1.PlotArea.MarkedZones.Add(item);       
   }

I hope that this is a feasible option for you.

Regards,
Yavor
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Chart (Obsolete)
Asked by
Kapil
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Share this question
or