Currently, I am using a bar-chart from chart.js along with bootstrap. The canvas
is contained within a div that has the class col-md-8
. While it works properly, I have noticed that the height of the bars is too high.
I tried looking for a barHeight
property to adjust the height of the bars but was unsuccessful in finding one. Does anyone know how to change the bar-height?
Attached below is a screenshot for reference:
https://i.sstatic.net/yP1Xi.png
Edit: Upon changing the height through CSS, the labels appear compressed.