I have a simple column chart that I would like to have 0 groupPadding for so that the columns are close next to each other, but I also want the width of each column (pointWidth) to be only 50 pixels.
This is for the x-axis, which has category labels. Here's my code: http://jsfiddle.net/2pVkd/
$('#container').highcharts({
chart: {
type: 'column'
},
xAxis: {
categories: ['Jan', 'Feb', 'Mar', 'Apr']
},
plotOptions: {
series: {
// pointWidth: 50,
groupPadding: 0
}
},
series: [{
data: [29.9, 71.5, 106.4, 129.2]
}]
});
The problem though is whenever I set pointWidth as 50 along with 0 groupPadding, there's a huge space between the columns so that it spans the entire axis, how can I prevent this from happening?
Thanks