Skip to content Skip to sidebar Skip to footer

HighCharts Export Breaks After Resetting Chart Options

On initial load of a page we set the chart options and create the chart. We allow the user to manipulate which series items are shown/hidden and also to change what the type of eac

Solution 1:

Well, there is nothing wrong, it works exactly as you written. Consider this:

chartMainLoc = new Highcharts.Chart(optionsChartMain, highlightSer);

In highlightSer you are displaying all series. When exporting chart, chart is created from the beginning, and callback is used once again, so all series are visible. Remove highlightSer callback and you will see the difference.


Post a Comment for "HighCharts Export Breaks After Resetting Chart Options"