I’ve noticed a few issues / posts about this already, but I can’t seem to find a simple solution.
Why, in the following example doesn’t Chart.js respect the width and height of its parent div? http://codepen.io/woutr_be/pen/EKdqrE
This is rather annoying as my charts need to be flexible and I can’t always maintain a fixed width and height.
I can force the canvas to maintain it by using CSS, but this will resize the canvas without redrawing it.