score:2

events: {
    load: function() {
        // set up the updating of the chart each second
        var series = this.series[0];
        setinterval(function() {
            $.getjson('db.php', function(data) {
                 series.setdata(data);
            });
        }, 1000);
    }
},

1st, series is an array, so you'll want series[0]. 2nd, you need to use setdata to change the series data after the chart is drawn (http://api.highcharts.com/highcharts#series.setdata())

it's not clear from your code if you're already doing it, but you will need to set the original series : [{data:[...]}]


Related Query

More Query from same tag