Accepted answer

i looked that your question here for your code. the problem is that you aren't updating your chart when your series type changes but instead you are re-creating the whole chart. anything drawn on it or zoom options that have been changed will not be preserved. so, instead of re-creating the chart, just update it. for instance to change the series type do:

highcharts.charts[0].series[0].update({'type':type}); // set the first series to a type

see this fiddle example.

Related Query

More Query from same tag