Size height of bar graph based on contents when containing DIV has no min height
Have a simple 3 bar graph. The containing DIV has no height defined Graph ends up rather tall with THICK bars. Ugly. If I try to control the bars by setting the plotOptions.groupPadding to .1 and pointPadding to 0 and the series I set pointWidth to 20, end up with lots of white space but graph is STILL taller than it needs to be.
1
vote
Jab
shared this idea
You can set the height dynamically based on the data length. See http://jsfiddle.net/highcharts/jMX8G/.