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.
Unfortunately, activation email could not send to your email. Please try again.

Bar Chart Point Color

Thread ID:

Created:

Updated:

Platform:

Replies:

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

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 05:49 AM

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 12:51 PM

Thanks A Lot for such a fast reply.

It works for me. Thanks Again !!!

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

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.

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.

;