score:37

Accepted answer

you can do this with the setcategories method found on the axis object. see the reference documentation for axis here: http://www.highcharts.com/ref/#axis-object

example: http://jsfiddle.net/4tuvc/

score:-1

try this one

data.chart.xaxis["categories"] = ['a','b','c']

score:2

since highcharts 5.0.0 you can use the update() function to update the chart options after render time:

data.chart.xaxis[0].update({categories: xaxiscategories});

Related Query

More Query from same tag