score:9

Accepted answer

I was able to hardcode the size of the graph by turning off responsiveness:

options: {
  responsive: false
}

score:1

Using Both options, maintainAspectRatio: false AND responsive: false seem to do the trick of making the chart fit the canvas as sized in the canvas height and width tags.

score:5

I solved the problem by adding "maintainAspectRatio: false" to the options.

options : {
    maintainAspectRatio: false
};

Related Query

More Query from same tag