Closed elenachiosa closed 6 days ago
Providing a number value to boxPadding should update the padding between the colored box and the label text, as per the documentation:
boxPadding
/** * Padding between the color box and the text * @default 1 */ boxPadding: number;
boxPadding does nothing. There's always the same spacing between the box and the text.
https://codepen.io/teodorachiosa/pen/jOoLREr
No response
4.4.2 Also reproducing on 4.4.3
Chrome 125.0.6422.147
Expected behavior
Providing a number value to
boxPadding
should update the padding between the colored box and the label text, as per the documentation:Current behavior
boxPadding
does nothing. There's always the same spacing between the box and the text.Reproducible sample
https://codepen.io/teodorachiosa/pen/jOoLREr
Optional extra steps/info to reproduce
No response
Possible solution
No response
Context
No response
chart.js version
4.4.2 Also reproducing on 4.4.3
Browser name and version
Chrome 125.0.6422.147
Link to your project
No response