score:0

only what you need is use 4 series, each of them with single data point.

series: [{
        name: 'year 1800',
        data: [107]
    }, {
        name: 'year 1900',
        data: [138]
    }, {
        name: 'year 2008',
        data: [973]
    },{
        name: 'year 20098',
        data: [973]
    }]

example: http://jsfiddle.net/y9wzggc4/

score:1

as i understand from your code here, you wish to specify two categories with names 1 and 2 but you are not specifying any data for second category, so the only category that is showing on your chart is 1. your data array for each series must have elements per each category. for example if you have two category you should consider having two data elements in each series. in this line data: [data.score] you are just specifying one element in data array. your code should be something like this: (make it dynamic per your need)

$.each(results, function(i, data){
        categories.push(data.name);
        detailchart.addseries({
            name: data.name,
            data: [data.score, 40], //40 is some data for your second category.
        });
    });

demo: http://jsfiddle.net/u6crkatv/


Related Query

More Query from same tag