how to set legend tooltips
how to set legend tooltips
I need to have tooltips on each entry in the legend of a standard line chart using CategoryDatasets. I noticed a method called getLegendItems() within the CategoryPlot class. So I figure I could just get each LegendItem and set the tooltip. For some reason there's no setToolTipText method in that class. So I tried compiling my own version of LegendItem with a setter, but it made no difference. Another weird thing is that there seems to only be one LegendItem even though I have 3 CategoryDatasets in there. How can you set tooltips for the legend entries? What am I missing?? Thanks in advance.