I am using a devexpress pie chart. There are 2 slices with values ββof 8 and 12 (out of a total of 20). when I use the code below, the values ββshown on the slices are 0/4 and 0/6 , while I need the values 40% and 60% .
((PiePointOptions)series.LegendPointOptions).PointView = PointView.Values; ((PiePointOptions)series.LegendPointOptions).PercentOptions.ValueAsPercent = false;
Setting ValueAsPercent = true only worsens the situation by changing the values ββto 0 and 1 !!! And showing the same proportions ( 0/4 and 0/6 ) on the slices.
How to show the percentage of each fragment?
source share