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.

Sorting in Pie

Thread ID:

Created:

Updated:

Platform:

Replies:

104129 Jun 24,2012 06:10 AM Jun 25,2012 01:18 AM ASP.NET Web Forms (Classic) 1
loading
Tags: Chart
Matthias Max
Asked On June 24, 2012 06:10 AM

Hi,

how can I stop the chart control from sorting the data along the size of the pie pieces?
For example if I have 4 pieces named "Very good", "good", "ok", "bad" and the "good" pie is very small it is not displayed between "Very good" and "ok" but instead moves to the side with the small pieces.

Thank you

Sivakumar D [Syncfusion]
Replied On June 25, 2012 01:18 AM

Hi Matthias,

Thanks for using Syncfusion Products.

We suggest to use “OptimizePiePointPositions”  property of chart series to modify the pie slice order. It specifies if the data points with smaller values are grouped together and ordered. By default, they are ordered in the order in which the points are added to the series. Please refer below code snippet.

[C#]
<code>
series1.OptimizePiePointPositions = false;
</code>

For more information about OptimizePiePointPositions ,Please refer our online documentation link below.

http://help.syncfusion.com/UG/User%20Interface/ASP.NET/Chart/Documents/45149optimizepiepointpositions.htm

For your convenience, we have created sample and the same can be downloaded from the following link.

http://www.syncfusion.com/downloads/Support/DirectTrac/95875/F104129326799840.zip


Please let me know if you have any other questions or concerns.

Regards,
Siva


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.

;