Reputation: 615
I'm using Highcharts to draw graphs on the fly.
As you see the below picture, there are a lot of blank spaces between years.
How can I shrink it?
I want to use the spaces to expand width of each column item.
Upvotes: 0
Views: 1288
Reputation: 8346
You can increase the column width by using pointWidth and shrink the spaces between years using groupPadding.
http://api.highcharts.com/highcharts#plotOptions.column.pointWidth
plotOptions: {
series: {
groupPadding: 0.01,
pointWidth: 50
}
}
Upvotes: 1
Reputation: 2849
Assign your groupPadding value very close to zero (or zero).
plotOptions: {
series: {
groupPadding: 0.01
}
},
Since you didn't post your code, I'll show another example
Upvotes: 1