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.
Syncfusion Feedback

Series.Point color - Windows Form Essential Chart

Thread ID:

Created:

Updated:

Platform:

Replies:

80441 Apr 2,2009 10:40 PM UTC Apr 3,2009 05:29 PM UTC Windows Forms 2
loading
Tags: Chart
Aymiee Lee
Asked On April 2, 2009 10:40 PM UTC

In a scatter plot chart, I need to change each point's color depending on where they lie. How do I change individual point color?




Venkata Vijayaraj B [Syncfusion]
Replied On April 3, 2009 10:54 AM UTC


Hi Aymiee,

Thanks for your interest in Syncfusion products.

To customize the color of individual point in the Scatter chart use the below code

chartControl1.Series[0].Styles[0].Interior = new BrushInfo(Color.Red);
chartControl1.Series[0].Styles[1].Interior = new BrushInfo(Color.Violet);
chartControl1.Series[0].Styles[2].Interior = new BrushInfo(Color.Orange);


To customize the color of the Series use the below code
chartControl1.Series[0].Style.Interior = new BrushInfo(Color.Red);
chartControl1.Series[1].Style.Interior = new BrushInfo(Color.Blue);
chartControl1.Series[2].Style.Interior = new BrushInfo(Color.Green);

Please let me know if this meets your requirement.

Regards,
Venkat.


Aymiee Lee
Replied On April 3, 2009 05:29 PM UTC

Perfect!! Thanks very much!!!


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

;