Automatically adjust bar chart height from data count
Hi again, I'd like to know how to make the height of this bar chart here automatically adjust to data count within the chart itself. For instance, Height : 100 x 1 for 1 data Height : 100 x 2 for 2 data Height : 100 x 3 for 3 data .................. How to achieve this result ? Thank you :)
Have you tried making it take 100% the height of the parent?
Normally on webpages if you use relative height, the child object is used as a template for the parent's height, so in theory if you use 100% of parent height it should expand the parent div to the required height.