score:2

Accepted answer
success: function (items) {

    var obj = jsonparse(items.d);

    $.each(obj, function (itemno, item) {
        series = new array();
        if (itemno == 0) {
            series.data = item.data;
            series.name = item.name;
            series.type = item.type;
        } else if (itemno == 1) {
            series.type = item.type;
            series.data = item.data;
            series.name = item.name;
            series.center = item.center;
            series.size = item.size;
            series.showinlegend = item.showinlegend;
        }
        options.series.push(series);
    });

    chart = new highcharts.chart(options);
    console.log(options);

},

this loop never adds a second series, you are only getting the last one in the loop because it is over writing the one before.

my changes may solve the problem, i am not near a computer at the moment to check.


Related Query

More Query from same tag