0 Replies Latest reply on Mar 3, 2008 8:14 AM by Garenne

    Chart legend : adding tooltip on each item

    Garenne
      Hi,

      My app displays a simple Linechart and its legend. I'm surprised to see that the Legend component doesn't provide many possibilities in accessing each of the items that compose it.

      First, I'd like to add a tooltip on each item of the legend. Then I would like to display a checkbox in front of every marker, to display/hide the corresponding item in the Linechart.

      One way could be to extend the Legend item (about this I found this nice - yet complicated - example), but I'd really like to know if there is a more simpe way to achieve it. As the Legend component is very dependant from its dataprovider, maybe I'd rather create my own custom legend, using my chart's values ?

      Any help will be appreciated ! Popop ./.