Chart.js
Chart.js copied to clipboard
padding between the Y axis and the first X axis tick
Expected behavior
padding between the Y axis and the first X axis tick is not working as expected in previous version it is working. In latest version it is moving y-axis also . I have requirement to have some space between Y-axis and x- axis first tick mark. But It is not working as expected. Below is the example which is working . I want same behavior in latest version
https://jsfiddle.net/AbhishekAdusumilli/hknbd7c0/5/
Current behavior
padding between the Y axis and the first X axis tick is not working as expected in previous version it is working. In latest version it is moving y-axis also . I have requirement to have some space between Y-axis and x- axis first tick mark. But It is not working as expected. Below is the example which is working . I want same behavior in latest version
https://jsfiddle.net/AbhishekAdusumilli/hknbd7c0/5/
Reproducible sample
https://jsfiddle.net/AbhishekAdusumilli/hknbd7c0/5/
Optional extra steps/info to reproduce
No response
Possible solution
No response
Context
No response
chart.js version
v3.7.0
Browser name and version
No response
Link to your project
No response
We are also facing a same issue and now had to downgrade the version. This limitation does not allow us to move to the latest version
Regarding issue labels. Is it really a support issue? As far as I know there is no way to add space between y axis and first tick on x axis in the latest version of chart.js.
I ended up creating fake chart.js labels with no data to emulate padding but it's far from ideal solution.