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.

Line Chart colors

Thread ID:

Created:

Updated:

Platform:

Replies:

71253 Jan 23,2008 12:28 PM Jan 25,2008 07:27 AM ASP.NET Web Forms (Classic) 1
loading
Tags: Chart
Ernie Schlangen
Asked On January 23, 2008 12:28 PM

I want to manually change the color of a line in a line chart. I tried series.style.border.color (since border.width changes the line thickness) but that doesn't seem to work. Can someone tell me where to do this?

Thanks!


Rajarajeswari S [Syncfusion]
Replied On January 25, 2008 07:27 AM


Hi Ernie,

Thanks for using Syncfusion products.

You can manually change the line color of the line chart by setting the Interior color. Please refer the below code snippet which illustartes this:


series.Style.Interior = new BrushInfo(Color.Green);


Please try this and let me know if this helps you out.

Regards,
Raji


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.

;