Does Pie Chart Support Decimal Points

Charts for WPF Forum

Posted 7 years ago by Jerin Sebastian
Version: 16.1.0662

Am trying to represent two datas in Pie chart. The values that am giving are 38 and 68. The data should be represented in percentages in the pie chart.

Currrently the percentages am getting are 64% and 36%. But actually the values are 35.84% and 64.15%. It seems the values have been rounded off. I don't want the values to be rounded off.

So how do I obtain the above case?

Comments (3)

Posted 7 years ago by Jerin Sebastian

This is the screenshot for the above case

Posted 7 years ago by Actipro Software Support - Cleveland, OH, USA

Hi Jerin,

I don't believe we actually round the pie slice value itself, but for display purposes it will round the percentage by default.  If you take a look at the "Charts / Pie Chart Features / Pie Slice Labels" topic in the documentation that comes with the product, it tell you how you can customize the labels.  You could modify PieSeries.SliceLabelFormat to support additional decimal places.

Actipro Software Support

Posted 6 years ago by Jerin Sebastian

Ok.. Thanks.

The latest build of this product (v24.1.2) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.