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

Pie Chart 3D raised interior

Thread ID:





71014 Jan 11,2008 05:34 PM UTC Jan 23,2008 01:12 PM UTC WinForms 1
Tags: Chart
kevin musters
Asked On January 11, 2008 05:34 PM UTC

When creating a pie chart, it seems the default interior always chooses an interior pie slice with a gradient looking colour. In the PrepareSeries event I am able to change this by going:
args.Style.Interior = new BrushInfo(GradientStyle.None, ColorArray);

My problem with this approach is I no longer have the random colour functionality that is associated with my Palette used in all of my charts. So generating a random RGB colour just doesn't work (and looks horrible).

So my questions, are there any ways to get rid of the default raised interior affect on the pie slice while maintaining the current default random pie slice colours that are generated with the palette.

Note - I am using version and I am unable to upgrade my existing solution to a newer package.

Melba Winshia [Syncfusion]
Replied On January 23, 2008 01:12 PM UTC

Hi Musters,

I regret for the delayed response.

If your intention is to display a chart without gradient rendering you can use AllowGradientPalette property of Chartcontrol. But this property has been implemented only in our latest version (from v5.2). With v4.4 you can achieve this only by setting GradientStyle as None in PrepareStyle event.

If I have misunderstood your requirement, could you please explain me in detail, so that I can work in depth and try to send a better solution?



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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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