Total percent value is incorrect when individual values are not integer.
Assume I have the values [34, 38, 12], percents showed are [40%, 45%, 14%]. If I sum these percentages, total will be 99%.
How can I solve this issue to show 100%?
May I define for each piece, in Pie graph, decimal value?
If it is not possible, I would be glad, for example, if total could be 99.99%.
Thanks in advance!
Pie graph percent issues
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Pie graph percent issues
Hi Lourival,
Is your problem in Marks text? Code snippet below works fine for me here using latest TeeChart for Java v3 release. However, adding: 40, 45, 14 doesn't plot correct marks. I added the issue (TJ71016121) to the defect list to be investigated. Is this the same problem at your end? Which TeeChart version are you using?
Also notice that you can customize marks text using MarkTextResolver as shown in this thread.
Is your problem in Marks text? Code snippet below works fine for me here using latest TeeChart for Java v3 release. However, adding: 40, 45, 14 doesn't plot correct marks. I added the issue (TJ71016121) to the defect list to be investigated. Is this the same problem at your end? Which TeeChart version are you using?
Code: Select all
Pie pie1 = new Pie(tChart1.getChart());
pie1.add(34);
pie1.add(38);
pie1.add(12);
pie1.getMarks().setStyle(MarksStyle.PERCENT);
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: Pie graph percent issues
I use version v1 and my code is equal
Re: Pie graph percent issues
how to find the ticket TJ71016121 ??
Re: Pie graph percent issues
Hi Lourival,
I'm afraid the bug/request tickets can't be followed through the net, but they are remarked in the release notes when a new maintenance release is published
I'm afraid the bug/request tickets can't be followed through the net, but they are remarked in the release notes when a new maintenance release is published
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Pie graph percent issues
Could this patch be applied to the v1 ? I can accept beta version...Yeray wrote:Hi Lourival,
I'm afraid the bug/request tickets can't be followed through the net, but they are remarked in the release notes when a new maintenance release is published
Re: Pie graph percent issues
Hi Lourival,
I'm afraid we don't have plans to publish any other v1. However, find free to modify the sources if you have them.
I'm afraid we don't have plans to publish any other v1. However, find free to modify the sources if you have them.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |