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. Image for the cookie policy date

Changes On PrepareStyle Have No Effect

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?

1 Reply

RF Rashidha F Syncfusion Team June 27, 2007 06:57 AM UTC

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.

Loader.
Live Chat Icon For mobile
Up arrow icon