score:2

Accepted answer

Try this :

options.series = [];
$('tr', table).each( function(i) {
    var tr = this;
    $('th, td', tr).each( function(j) {
        if (j == 2) { // get only column 2
            if (i == 0) { // get the name and init the series
                options.series[0] = {
                    name: this.innerHTML,
                    data: []
                };
            } else { // add values
                options.series[0].data.push(parseFloat(this.innerHTML));
            }
        }
    });
});

You need to check that j == 2 so that you only get the data in the 2nd column and then when you create the options.series array you need to use 0 - Highcharts expects at least data in series[0]

Working Example here


Related Articles