check this
var columnA = 'some';
var columnB = 'BB';
var columnC = 'CC';
$('#MyContainer').highcharts({
chart: {
zoomType: 'x',
type: "column"
},
title: {
text: null
},
xAxis: {
categories: [{
name: columnA,
categories: [columnB, columnC]
}],
crosshair: true
},
yAxis: [{
title: {
text: null
}
}, {
title: {
text: null
},
opposite: true
}],
plotOptions: {
column: {
stacking: 'quantity'
},
spline: {
marker: {
enabled: true
}
},
series: {
cursor: 'pointer',
marker: {
lineWidth: 1
}
}
},
series: [{
type: 'column',
name: 'ColA',
data: [1,2,3],
}]
});