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

Change the ChartSeries color

Thread ID:





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

On version, how can I set the ChartSeries color?

Carlos Guanes
Replied On June 7, 2012 03:15 PM UTC

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 04:27 PM UTC

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 10:20 AM UTC

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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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