Hi,
I use a PieChart.
The program displays automatically the % figures for every slice. Fine.
Is there a possibility to change the formatting?
I would like to have three digits after the . instead of 1.
4.376% instead of 4.4%
Is this possible?
thanks!
jens
pie chart - percent figures
Re: pie chart - percent figures
Try the setPercentFormatString(...) method in the PiePlot class.
Regards,
DG.
Regards,
DG.
Re: pie chart - percent figures
Thank you David!
Your help is - as always - very appreciated and welcome!
jens
Your help is - as always - very appreciated and welcome!
jens
Re: pie chart - percent figures
I can't display the % figures for every slice.Would you please give me some advice?Thank you very much!
Re: pie chart - percent figures
What have you tried so far?
You need to call the setSectionLabelType method in the PiePlot class to get percentage labels to display. After that you can alter the format as specified earlier in this thread.
Regards,
DG
You need to call the setSectionLabelType method in the PiePlot class to get percentage labels to display. After that you can alter the format as specified earlier in this thread.
Regards,
DG
Re: pie chart - percent figures
Thank you very much!
By the way,if I want to add the dollar symbol in the front of the value, for example, $33000 instead of 33000, how could I do this style?
By the way,if I want to add the dollar symbol in the front of the value, for example, $33000 instead of 33000, how could I do this style?