score:2

you need to add a two dimensional array as data. you can declare a global variable and add the data to that varible.

var chartdata=[]
    var datatemp = new array(parseint(items[0]), parseint(items[1]));
chartdata.push(datatemp);

and

series: [{
                 data: chartdata
          }]

Related Query

More Query from same tag