We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The backfrop shall be rendered under the text of the tick label
The scale's tick options:
..... x2: { type: 'linear', position: 'top', ticks: { callback: function (val: number, index: number, ticks: Tick[]) { return index === 0 || index === ticks.length - 1 ? 'FOO' : '0'; }, color: 'green', backdropColor: 'yellow', showLabelBackdrop: true, align: 'inner', }, }, ....
When tick config "align" === 'inner' for a scale, the rightmost tick has its backdrop rendered outside, the text itself is correctly rendered inside
https://rxjs-jmjkfr.stackblitz.io/
No response
4.4.0
Chrome 119
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Expected behavior
The backfrop shall be rendered under the text of the tick label
The scale's tick options:
Current behavior
When tick config "align" === 'inner' for a scale, the rightmost tick has its backdrop rendered outside, the text itself is correctly rendered inside
Reproducible sample
https://rxjs-jmjkfr.stackblitz.io/
Optional extra steps/info to reproduce
No response
Possible solution
No response
Context
No response
chart.js version
4.4.0
Browser name and version
Chrome 119
Link to your project
No response
The text was updated successfully, but these errors were encountered: