I have a bar chart (BarSeriesDefinition). How to set an individual color for each data point (bar) ?
Is that possible for 3D chars also?
Best regards,
Igor
3 Answers, 1 is accepted
0
Evgenia
Telerik team
answered on 22 Sep 2010, 11:55 AM
Hi Igor,
Thanks for contacting us. To be able to set different color for each datapoint (bar) you need to set the LegendDisplayMode property to DataPointLabel as this will display an item for each DataPoint in your series and each series item will be marked with a different color. You can set it for 3D bar chart like this:
InitializeComponent();
RadChart1.DefaultSeriesDefinition = new Bar3DSeriesDefinition();
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
I have current a series with Y axis (number) and x axis ( percent)
Can you please provide a example on how to have one series with different colors for the axis? In other words, Percent less than zero one color and percent greater than 0 other color.
I would really appreciate your help.
0
Evgenia
Telerik team
answered on 28 Oct 2011, 12:43 PM
Hi Mayra,
Your scenario looks pretty much like our MVVM demo. You may also find our online documentation helpful for achieving this.
Regards,
Evgenia
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>