Accepted answer

you don't have to use categories at all. in general categories are good to show e.g. fruits, or names - how to define which name should be displayed, and which shouldn't? is apple more important than banana?

however, solution is pretty simple, using xaxis label formatter, take a look:

xaxis: {
  labels: {
    formatter: function(){
      return names[this.value];

Related Query

More Query from same tag