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
This should work. Basically, just add the width and height properties to your javascript:
var ctx = document.getElementById("myChart").getContext("2d"); ctx.canvas.width = 200; ctx.canvas.height = 200; var myChart = new Chart(ctx,.........
Reference: Chart.js canvas resize