Legend Text Style bugs?
Posted: Tue Jun 29, 2010 9:24 pm
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
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