score:0

Accepted answer

Black Label has come out with Highcharts plugin for grouped categories.

See here https://github.com/blacklabel/grouped_categories/

score:1

There are many examples about highcharts groupped categories

Example1

Example2

Example3

define categories

xAxis: [{
    categories: ['Australia', 'Germany', 'Australia', 'Germany'],

assing category to group

data: [['Group1', 20],['Group1',30],['Group2', 35],['Group2', 25]]
},

score:1

Refer this link:

highcharts column labels

See the categories part in the fiddle below they have show the very good example of what you need:

Demo

use this

xAxis: {
    categories: ["Location A","Location B","Location C"],
    title: {
        text: "Location"

    }
},

or this

xAxis: [{
categories: [{
name: 'fruits'
children: ['orange', 'mango']
},{
name: 'birds'
children: ['eagle', 'parrot']
}]
}]

hope this might help you.


Related Query

More Query from same tag