score:-2

I was having the same issue in a Bulma tile.

The fix was to set responsive: false in the Chart.js script options area.

score:2

I've found some users had the same issue in this post: https://github.com/jtblin/angular-chart.js/issues/84

The solution for me was to change the chart's options to maintainAspectRatio: false.

    myChart.setOptions({
        responsive: true,
        maintainAspectRatio: false
    });

score:32

I had the same thing. You have to put an empty div around the canvas.


Related Query

More Query from same tag