Change the width of the graph in chart.js code example Example: chartJs height var ctx = document.getElementById("myChart"); ctx.height = 500;