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.

Changes On PrepareStyle Have No Effect

Thread ID:

Created:

Updated:

Platform:

Replies:

62962 Jun 26,2007 10:21 AM Jun 27,2007 02:57 AM Windows Forms 1
loading
Tags: Chart
Matt N
Asked On June 26, 2007 10:21 AM

I am trying to use a technique that I successfully employed in 4.3.0.30, but no longer works the same in 5.1.0.51.

I add a new series to the chart, and hook the PrepareStyle event. I then set args.Style.Symbol.Color to define the color on a point by point basis. This works in 4.3. In 5.1 it seems that the new themes (Palette?) override my color no matter what. How do I disable this behavior?

Rashidha F [Syncfusion]
Replied On June 27, 2007 02:57 AM

Hi Matt,

Thanks for using Syncfusion Products.

I am not able to reproduce this issue which you have mentioned in the previous update.

Please have a look at the attached sample.

http://websamples.syncfusion.com/samples/Chart.Windows/F62962/main.htm

The above sample which illustrates how to change the color of the points using PrepareStyle Event.

Please let me know if this helps.

Thanks and Regards,
Rashidha.

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.

;