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.

Change the ChartSeries color

Thread ID:





103910 Jun 7,2012 11:12 AM Jun 8,2012 06:20 AM ASP.NET Web Forms (Classic) 3
Tags: Chart
Carlos Guanes
Asked On June 7, 2012 11:12 AM

On version, how can I set the ChartSeries color?

Carlos Guanes
Replied On June 7, 2012 11:15 AM

Also is there a way to show the X axis value (text) in 90 degree (vertical) ? (or any other degree of rotation)

Carlos Guanes
Replied On June 7, 2012 12:27 PM

I found the legend rotation...
this.ChartWebControl1.PrimaryXAxis.LabelRotate = true;
this.ChartWebControl1.PrimaryXAxis.LabelRotateAngle = -75;
But I still clueless about the series color...

Vijayabharathi K [Syncfusion]
Replied On June 8, 2012 06:20 AM

Hi Carlos,


Thanks for using Syncfusion products.


We suggest you to use “Interior” property of series style to set color for chart series. Please refer the below code snippet to achieve this,



this.ChartWebControl1.Series[0].Style.Interior = new BrushInfo(Color.Red);


You can find more information about these properties in the online documentation link from below.



Please let us know if any concerns.








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.