score:29

Accepted answer

as of highcharts 3 you can use xaxis.type and set it to "category" for your desired behavior without having to specify the category names.

http://api.highcharts.com/highcharts#xaxis.type

i've edited the jfiddle to have the following:

xaxis: {
        type: "category"
    }

http://jsfiddle.net/h7zgb/22/

score:2

i believe you are looking for this...

http://api.highcharts.com/highcharts#xaxis.categories

take a look at this fiddle...i've added the following:

    xaxis: {
        categories: ["new york", "la", "chicago"]
    },

http://jsfiddle.net/h7zgb/3/


Related Query

More Query from same tag