[Chartjs]-Can't size doughnut chart from chart.js

26👍

try this in chart’s option confirg

options = {
  maintainAspectRatio : false
}

9👍

Try to set height of canvas inline:

<div style="height: 168px">
     <canvas id="chart-area" height="168px"/>
</div>

Leave a comment