Skip to content
New issue

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

Consistent Stack Border Radius for Bar Charts #11958

Open
knolandev opened this issue Nov 18, 2024 · 0 comments
Open

Consistent Stack Border Radius for Bar Charts #11958

knolandev opened this issue Nov 18, 2024 · 0 comments

Comments

@knolandev
Copy link

Feature Proposal

In stacked bar charts, Chart.js currently seems to render border radius individually for each dataset.

When the top bar of a stack is thin, that makes the entire stack appear “flat” or uneven at the top.

Example:

Screenshot 2024-11-18 at 4 36 17 PM

Would it be possible to add an option for border radius to be applied to the entire stack as a whole, rather than each individual dataset?

This would help visuals look more polished and consistent in cases like this, regardless of individual bar sizes.

Apologies if I missed an existing setting for this. I also made a couple quick (unsuccessful) attempts at a plugin, but this strikes me as something that would be nice if it was supported natively.

Possible Implementation

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant