score:6

Accepted answer

Just to make it clear, you can use one of (not both):

  • pointWidth: forces Highcharts to draw bars with fixed width,
  • pointPadding + groupPadding: calculates width of the bar according to these values and chart width/height

Just think about this: how to set the same width of the bar for all charts when you have different number of bars? And the answer is to change charts' width according to number of columns. For example you have 4 bars? Chart height/width will be sum: 4 x 10px + some_padding. If you have 10 bars, when height/width will be: 10 x 10px + some_padding (the same as above). I hope that's what you want to achieve.


Related Query

More Query from same tag