We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Bar Chart Point Color

Hi,

I want to color the indiviual points of single series in bar chart.

eg. For the first point of series, Color is RED,
For the second point of series, Color is GREEN ... so on

Is it possible to color the indiviual points of same series or not ?

3 Replies

VV Venkata Vijayaraj B Syncfusion Team September 21, 2009 09:49 AM UTC

Hi,

It is possible to color the individual point of Series using the below code.

ChartSeries series1 = new ChartSeries("Series1", ChartSeriesType.Bar);
series1.Styles[0].Interior = new Syncfusion.Drawing.BrushInfo(Color.Red);
series1.Styles[1].Interior = new Syncfusion.Drawing.BrushInfo(Color.Green);

Please let me know if you have any other query.

Regards,
Venkat.


PU pun September 21, 2009 04:51 PM UTC

Thanks A Lot for such a fast reply.

It works for me. Thanks Again !!!


VV Venkata Vijayaraj B Syncfusion Team September 22, 2009 10:07 AM UTC

Hi,

Thanks for the update.

Regards,
Venkat.

Loader.
Live Chat Icon For mobile
Up arrow icon