#882 getSeriesKey() in LegendItemEntity for pie chart always null

1.0.x
closed-fixed
General (896)
5
2008-08-15
2008-08-14
No

See http://www.jfree.org/phpBB2/viewtopic.php?t=21558&highlight=serieskey

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

Discussion

  • Cédric Chabanois

    modified PieChartDemo1 code that illustrates this problem

     
  • David Gilbert

    David Gilbert - 2008-08-15
    • assigned_to: nobody --> mungady
    • status: open --> closed-fixed
     
  • David Gilbert

    David Gilbert - 2008-08-15

    Logged In: YES
    user_id=112975
    Originator: NO

    Thanks for the report. The fix has been committed to Subversion for inclusion in the 1.0.11 release.

    Regards,

    Dave Gilbert
    JFreeChart Project Leader

     

Log in to post a comment.