Hi,
I have a chart with a legend outside the chart area, and I would like to replicate the functionality found it standard Highcharts legends in which a series disappears when the legend item is clicked. I was able to make it work by looping through and hiding each series, but it was very slow. I found I can assign a class to each series and hide it much faster that way, but then the series is not ignored in the chart: there is a space left behind where the series was.
I created the following fiddle to show the two approaches. I'm hoping you can help me figure out how to use the class-based approach and have it ignore the hidden series, or give me an idea of how to speed up the other approach.
https://jsfiddle.net/3jzctkhf/
Thank you,
Jay