[Chartjs]-How to add border in chartjs?

1👍

There is no default build in way to achieve this, if you want this you will have to write a custom plugin for it: https://www.chartjs.org/docs/latest/developers/plugins.html

0👍

you can wrap your canvas with a div tag and set border to it,
if labels are out of it you can set padding-bottom & left to contains it

Leave a comment