Join GitHub today
Adding multiple series with addSeries is very slow #5884
Adding series with addSeries(options, false) is supposed to be fast.
I upgraded from an old highcharts version to 5.0.0 and discovered that when I try to add 15 graphs highcharts takes a very long time to load them. I use the add series method and I set the redraw parameter to false. It takes about 1 min to load the graph.
Profiling in chrome shows the problem is that the redraw method actually does get called in setBaseSeries where we iterate the series and remove them, but telling highcharts to redraw.
I tried changing the code to:
And it worked. I think the redraw parameter should be passes to the remove function as well.
Tested with chrome 52
added a commit
Oct 26, 2016
We have to remove the series as
But I think