I\'m trying to make a graph with Charts.js (current one is just a really simple example I\'m trying to get working, somewhat taken from the Chart.js documentation) and the g
A little late to the party, but I struggled with this problem a lot, particularly on a page with multiple charts.
This little tidbit solved it all - my charts all now fit nicely, and resize exactly with the divs they are in.
Add this to your page styles (The 8px is personal preference. Change if needed):
For the appropriate Divs: