Hi,
I am trying to display a pie chart where the legend shows the percentage amount of each slice. For example,
Slice Value
Planes 20
Trains 20
Automobiles 40
should display as
Slice Percentage
Planes 25%
Trains 25%
Automobiles 50%
I try to enable it with $chart1->getLegend()->setTextStyle(LegendTextStyle::$PERCENT);
However, this line seems to crash teechart. (BTW, this isn't the only LegendTextStyle that crashes TeeChart). Is there a workaround?
Tom
Legend Text Style bugs?
Re: Legend Text Style bugs?
Hi tgrubb,
I could reproduce the problem so I've added it to the defect list to be fixed asap (TF90015015).
The following should give the result you are finding (the label in the left and the percentage in the right) but for some reason it fails:
I could reproduce the problem so I've added it to the defect list to be fixed asap (TF90015015).
The following should give the result you are finding (the label in the left and the percentage in the right) but for some reason it fails:
Code: Select all
$chart->getLegend()->setTextStyle(LegendTextStyle::$RIGHTPERCENT);
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Legend Text Style bugs?
Hi Tom,
I'm glad to announce that we've already fixed (TF90015015).
I'm glad to announce that we've already fixed (TF90015015).
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Legend Text Style bugs?
That's great! Is there a schedule for the next point release to see the fix?
Regards,
Tom
Regards,
Tom
Re: Legend Text Style bugs?
Hi Tom,
I've sent you a mail with it to the mail account you have registered in these forums.
I've sent you a mail with it to the mail account you have registered in these forums.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |