[Chartjs]-Doughnut chart adjusting problem in chart.js

4👍

Please make sure to use max-height style on your canvas.

for example:

<canvas id=“my_chart" style="max-height: 160px;"></canvas>

1👍

Also try giving height and width in % values rather than pixels.

Leave a comment