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
- [Chartjs]-Style individual points from one dataset in Chart.js
- [Chartjs]-Chart js sum of grouped bars
Source:stackexchange.com