score:0

there must be something wrong with your values array, caused by the for loop or your string.data, here is a working example using a var for the series.data and your values arrary:

fiddle

var values= [11,9,9,8,7,7,5,4,4,2];    

$('#container').highcharts({
    series: [{
        data: values
    }]
});

score:0

create an array type and push the values:

var values = new array();
for (var 1= 0; i < string.data.length; i++)
{
values.push([string.data[i].value]);
}

it is important that you use the push([]) in order to assign it to the data tipe in highcharts.


Related Query

More Query from same tag