Accepted answer

if i'm following you, you want to shift off the start of the series, but leave the xaxis alone?

you can just set an xaxis min:

        min: 0

see example.


in response to your comment. i think the easiest thing to do would be to shift the data yourself and then use setdata to redraw the series.

    newdata = [];
    var seriesdata = chart.series[0].data;
    // shift the data
    for (var i = 0; i < (seriesdata.length - 1); i++){
        newdata.push({x: seriesdata[i].x, y: seriesdata[i+1].y});
    // new point for last
   newdata.push({x: seriesdata[seriesdata.length - 1].x, 
                 y: math.random() * 100});
   chart.series[0].setdata(newdata, true);

updated fiddle.

Related Query