Accepted answer

looking at the pyramid example, the data must be in the form of a single series with each data point as an array of [name, value]. you have two options, change your php to output the correct format or modify the php output in javascript. since you didn't post your php code, i'll do the later:

var data = {"success":1,"data":[{"name":"john spoon","data":300}, {"name":"dave jones","data":200},{"name":"other","data":500}]};    

options.series = [{
    data: $.map(, function(i){ // loop outputted data
        return [[,]]; // coerce into an array of [name,value]

here's a working example.

Related Query

More Query from same tag