I use LIVE Highchart with 2 live graphs. The chart should display only 5 datapoints at on time. Therefore is the shift-argument
var series1 = chart.series[0];
shift1 = series1.data.length > 5;
series1.addPoint(point1, true, shift1);
So when point six arrives, point one is thrown away. But when i disable a series for a while … and after enabling it again … there was no shift.
http://www.abload.de/img/errorh5kko.jpeg
I reproduced it on jsfiddle for you
So both livegraphs no matter whether enabled or disabled should be shifted.
Looks like a bug in Highcharts to me. As a workaround, just
.show()the series, thenhide()it (if needed). Highcharts seems to be able to do this without any visible flickering.Updated fiddle.