We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
useBorderRadius
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
Doughnut chart doesn't respect legend label box useBorderRadius setting
I'd expect the labels to have a rounded appearance, as with the bar but they are square.
The doughnut label boxes are square with no border radius.
https://codepen.io/n1c/pen/QwwLNqj
No response
v4.4.8
Chrome
The text was updated successfully, but these errors were encountered:
Hi @n1c! You can just enable usePointStyle in the legend label options to get a circular shape, like this: https://codepen.io/adrianbrs/pen/jEEqEwW
usePointStyle
const legend = { labels: { usePointStyle: true }, }
Anyway, I also think it's a good idea to respect the borderRadius option.
borderRadius
Sorry, something went wrong.
Great thanks for this.
No branches or pull requests
Expected behavior
Doughnut chart doesn't respect legend label box
useBorderRadius
settingI'd expect the labels to have a rounded appearance, as with the bar but they are square.
Current behavior
The doughnut label boxes are square with no border radius.
Reproducible sample
https://codepen.io/n1c/pen/QwwLNqj
Optional extra steps/info to reproduce
No response
Possible solution
No response
Context
No response
chart.js version
v4.4.8
Browser name and version
Chrome
Link to your project
No response
The text was updated successfully, but these errors were encountered: