score:2

Accepted answer

You can hide all series by default using plotOptions. Then in callback show first series: http://jsfiddle.net/AYYCv/142/

$('#container4').highcharts({
    data: {
        googleSpreadsheetKey: '0AtF0efQI2GskdE5Yei1VODZuTlBKUi1rc0JnNmxRQVE'
    },
    plotOptions: {
        series: {
            visible: false
        }
    },
    title: {
        text: 'Playground'
    }
}, function(chart) {
    chart.series[0].show();   
});

score:0

You are going to need to pre-process your data somehow. To do it after you have parsed the data into json and have created your series you can use the visible property like so:

series: [{
    data: [29.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4],
    visible: false
}, {
    data: [144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4, 29.9, 71.5, 106.4, 129.2]
}]

Related Articles