Removing values from legend of pie chart
Removing values from legend of pie chart
I noticed that the legend on a pie chart contains the value of each slice. Is there a way to not display the value? For example, if a slice in the pie chart represents the number of cars in a car lot, the legend will display "cars = 10". Basically, it displays the same label as the tooltips and callouts.
This is done by setting the legend label generator. Described in this post:
http://www.jfree.org/phpBB2/viewtopic.php?t=12331
http://www.jfree.org/phpBB2/viewtopic.php?t=12331