Reputation: 4430
what I need is grouped xAxis label.
I created a fiddle:
In that fiddle, I use category like: foo1, foo2, foo3, bar1, bar2... so on. What I need is 2 line xAxis label like:
y|
|
|
|___________________________________________
1 2 3 1 2 3 1 2 3
foo bar baz
I've googled for days and still get nothing, is that even possible ? is there any trick to get it done ? Thanks.
Upvotes: 1
Views: 1753
Reputation: 37578
You can use grouped categories plugin which allows to add two axis.
Upvotes: 1
Reputation: 2197
You can use Black Label's Grouped categories plugin for this: http://www.highcharts.com/plugin-registry/single/11/Grouped-Categories
Upvotes: 2