score:1

you can extend array of points this way: http://jsfiddle.net/7vnwk/4/

    var interval = 172800000, //interval between two points - two days?
        datalength = data.length, 
        startingpoint = data[datalength-1].x - 162 * 24 * 3600 * 1000, // half year from last point
        extendeddata = [],
        i = 0;

    while(i < datalength) {
        var actual = data[i];
        if(startingpoint < actual.x) {
            extendeddata.push({x: startingpoint, y: 0});  
        } else {
            extendeddata.push(actual); 
            i++;
        }
        startingpoint += interval;
    }

    $('#container').highcharts({
        xaxis: {
            type: 'datetime'   
        },
        series: [{
            type: 'scatter',
            data: extendeddata
        }]
    });

of course, it depends on your interval between points. as i can see from your data, it's about 2days.


Related Query

More Query from same tag