This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
While pie charts are not well suited to handling negative values, if a user wants to see a pie chart I would like to show something reasonable. Currently, the handling of negatives by the WpfElements pie chart control seems a bit wacky. I have attached a picture from your samples solution where I reversed the sign of one of the data values (France). I can't describe the result--just look at the picture. Note that Excel calculates the size of the slices based on the absolute value of the data value, and this seems like a reasonable way to handle negatives. I could do this transform on the data myself, but maybe you would like to resolve this in your control. I am still using the version from Feb 2016. |
|
|
Thanks for bringing this to our attention Peter, The next nightly build will use absolute values to build the pie slices, as well as calculate the percentage values. The negative values are still available as the DataValue of each slice, and the DependentData of the labels. -Jason Fauchelle |
|
|
Hi Jason, Thanks for the quick update. I confirmed is now works as expected. Peter |
|