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.

Pie Chart 3D raised interior

Thread ID:

Created:

Updated:

Platform:

Replies:

71014 Jan 11,2008 12:34 PM Jan 23,2008 08:12 AM Windows Forms 1
loading
Tags: Chart
kevin musters
Asked On January 11, 2008 12:34 PM

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 4.4.0.51 and I am unable to upgrade my existing solution to a newer package.


Melba Winshia [Syncfusion]
Replied On January 23, 2008 08:12 AM

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?

Thanks,
Melba


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.

;