Here’s how to add the events with jQuery:
Perhaps a slightly better approach that I use is to target the legend item itself instead of just the text. Here is an example:
I wanted to add that the approach you posted requires us to know the classes and element types used to render the chart. If this ever changes, it would force us to have to change as well. Just a thought...
That is exactly what I do, I just thought it would be nice again to have some hover options without having to create an event handler.
I wrote a custom event handler to refresh/hide the tooltip when hovering over a legend. It would be nice if this was natively supported in the apis.
This should have many more votes in my opinion. There are many times you'd want separate legends for different series. I have a pie chart with 2 series that contain related data, but don't belong in the same legend. I ended up putting a custom listener on the redraw method that would move several of the legend items created to another area so the legends were at least separated logically.