The space below the chart title and the chart axis should be the same and should only be controlled by chart.title.padding and not by data. Here in this example , the chart options are the same but the data is slightly differnet and it is producing inconsistent spacing.
Expected behavior
The spacing below the word "My Chart' (aka the chart title) should have been the same in both the charts.
Current behavior
The spacing below the word "My Chart' (aka the chart title) is different in both the charts.
Attached screenshot :
Reproducible sample
https://codepen.io/souravsaraf/pen/XWLVZym
Optional extra steps/info to reproduce
No response
Possible solution
No response
Context
The space below the chart title and the chart axis should be the same and should only be controlled by chart.title.padding and not by data. Here in this example , the chart options are the same but the data is slightly differnet and it is producing inconsistent spacing.
chart.js version
v4.4.1
Browser name and version
Chrome 127.0
Link to your project
https://codepen.io/souravsaraf/pen/XWLVZym