Legend click options instead of defaulting to hiding the series.
When clicking on a legend item, the behavior is to hide/unhide the selected point or series. I'd like to be able to change this behavior to generate a click event on the corresponding point or series. For instance, I had to write a custom click handler to drill down when clicking on the legend item.
Already implemented, please see http://api.highcharts.com/highcharts#plotOptions.series.events.legendItemClick
-
Anonymous commented
i need to click between date 1 to 31 date and if click on 14th date of the month data will be show so how to do it?
-
Patrick commented
I use that option, but I thought it would be convenient to be able to choose from a list of common behaviors (e.g., hide series, select series, fire drilldown event, etc.) instead of having to create an event handler. I currently call firePointEvent("click") to trigger a drilldown. At any rate, it looks like you added this support to address this previously so that's fine. Thanks. :)