Is it possible to get x axis names from a string in my series list? I am building this list of series on the backend and would like to use New York, Los Angeles and Chicago as X-axis category values.
I would expect New York, Los Angeles and Chicago to become X axis labels, however I get from -0.25 to 2.25.
Thanks.
http://jsfiddle.net/nicholasduffy/H7zgb/2/
$(function () { var chart = new Highcharts.Chart({ chart: { renderTo: 'container', type: 'column' }, plotOptions: { column: { stacking: 'normal', dataLabels: { enabled: false } } }, series: [{ "data": [ ["New York", 3570.5], ["LA", 50128.38], ["Chicago", 5281.22] ], "name": "Stuff" }, { "data": [ ["New York", 10140.84], ["LA", 21445.04], ["Chicago", 12957.77] ], "name": "Junk" }, { "data": [ ["New York", 65119.6], ["LA", 103118.6], ["Chicago", 78349.6] ], "name": "Other Stuff" }] });
});
duffn source share