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