Chartjs-Chart.js reduce canvas size without changing the size of the chart

1👍

You have to set responsible to false, per this SO duplicate question / answer:
https://stackoverflow.com/a/43281488/3589609

 options: {
                responsive: false
            }

0👍

Why don’t you initialize the canvas with smaller dimensions then?

<canvas id="myChart" width="400" height="400"></canvas>

Leave a comment