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

Sorting in Pie

Thread ID:





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


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 05:18 AM UTC

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.

series1.OptimizePiePointPositions = false;

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


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


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



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