score:0

without seeing the actual chart code here is my best guess. you did not define your series object correctly. this line is the issue i think:

var series = chart.series[0],

i believe that should be a ; instead of a ,.

also, if you still get this error then you created a chart with no series but then try to push a point to a series[0]. make sure you create an empty series (or create a series after chart creation). like in the example page given:

series: [{
     name: 'random data',
     data: []
   }]

Related Query

More Query from same tag