javascript - How can i hide all the Series in highcharts at a time -
i want hide series's @ time , till use $.each hide series 1 one degrading performance want hide @ time..is there way..? had tried this..
$.each(series, function(index, series1) { series1.hide(); });
instead of .hide
use .setvisible(false, false)
. not trigger redraw after every hide operation.
$(chart.series).each(function(){ //this.hide(); this.setvisible(false, false); }); chart.redraw();
see fiddle.
Comments
Post a Comment