It looks like getSeriesKey() method in LegendItemEntity always returns null for pie charts. Just like deprecated getSeriesIndex() always returned 0. In other words, it is not possible to decipher what item you clicked on in the pie chart legend.
tested with jfreechart-1.0.6 and jfreechart-1.0.10
Log in to post a comment.