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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Bar Chart Point Color

Thread ID:

Created:

Updated:

Platform:

Replies:

90173 Sep 21,2009 08:08 AM UTC Sep 22,2009 10:07 AM UTC ASP.NET Web Forms (Classic) 3
loading
Tags: Chart
pun
Asked On September 21, 2009 08:08 AM UTC

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 ?

Venkata Vijayaraj B [Syncfusion]
Replied On 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.

pun
Replied On September 21, 2009 04:51 PM UTC

Thanks A Lot for such a fast reply.

It works for me. Thanks Again !!!

Venkata Vijayaraj B [Syncfusion]
Replied On September 22, 2009 10:07 AM UTC

Hi,

Thanks for the update.

Regards,
Venkat.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;