ElementStacks
HTML
<script src="http://highcharts.com/js/testing.js"></script>
<div id="container"></div>
JavaScript
var category=["HG","SK","MK","MP"];
var chart = new Highcharts.Chart({
chart: {
renderTo: 'container',
height: 50
},
title: null,
xAxis: {
categories:["HG","SK","MK","MP"],
title: null,
lineWidth: 0
},
yAxis: {
title: null,
lineWidth: 0
},
credits: {
enabled: false
},
series:(function(){
for(var series=[], i=0; i<4; i++){
series[i] = category[i];
console.log(JSON.stringify(category[i]));
}
return series;
})()
});