Chartjs-Reduce size of chart within the canvas

1👍

Yes, that is possible.

You can set padding for your chart layout accordingly, which will decrease the actual chart size, like so :

layout: {
   padding: 20
}

set this inside your chart­‘s options config.

Leave a comment