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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Change the ChartSeries color

Thread ID:

Created:

Updated:

Platform:

Replies:

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

On version 9.4.0.62, how can I set the ChartSeries color?
 
Thanks

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,

 

 [C#]

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.

http://help.syncfusion.com/UG/User%20Interface/ASP.NET/Chart/documents/45140interior.htm

 

Please let us know if any concerns.

 

Regards,

Vijayabharathi

 

 

 


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

;