chart.js canvas width code example Example: chartJs height Click to copyvar ctx = document.getElementById("myChart"); ctx.height = 500;