score:1

Accepted answer

is this what you're looking for? i changed:

$('#container').hightcharts({
    chart: {
        type: 'spline',
        shadow: true
    }//,
    //........
});

to:

var options = {
    chart: {
        renderto: 'container',
        type: 'spline',
        shadow: true
    }//,
    //....
};

and put the ajax call at the bottom of dom ready, no changes made to it.


Related Query

More Query from same tag