Open multiple Highcharts charts in Highslide

197 Views Asked by At

I tried in 3 different ways to achieve this; my solution is utterly unstable and finicky; so I guess I have as only option to ask how you did it.

I have multiple charts rendering on a web page; I want to click on each of them and open a full screen version of the chart, changing the settings.

I started with this fiddle; but I can do it only with one chart: jsfiddle.net/newbiez/AeFp3/

When I load the page, I create multiple chart in a loop, after I process data and assign it to each chart in loops too. I tried to use the approach of the fiddle, for multiple charts, but that means call the function that build the chart X times (X is the number of charts). Probably the solution is very simple, but since I am dealing with it for so long, I can't see it.

Any help would be appreciated; tried in various ways, and now I am short of ideas.

0

There are 0 best solutions below