When i render a highcharts-chart to a div container, how can i get access to the chart object through the div-Container? i dont want to make the chart variable global.
Simply with pure JS :
var obj = document.getElementById('#container') Highcharts.charts[obj.getAttribute('data-highcharts-chart')];