javascript - Chart.js bar chart is overflowing its containing element -
I can not find this stupid chart to be in my container when padding It does not matter if the
is applied to the container if responsive
option is set to true
.
No matter to it, I How to set box-sizing
liability
option if its container is not fit, what's the purpose?
With the most CSS, the answer is to use another cover!
I had the same problem (and I'm using a box size)
Just put a divan around your canvas! (Divis boxes will be heirs to shape)
Good luck
:)
Comments
Post a Comment