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

Rounded corners in stacked column chart do not display correctly #1675

Open
RichardPoes opened this issue Sep 3, 2024 · 1 comment
Open

Comments

@RichardPoes
Copy link

RichardPoes commented Sep 3, 2024

Describe the bug
When supplying data to the stacked bar chart, where one of the top-most bars has a length of 0, no rounding is applied to the top-most non-zero bar. This is shown in the screenshot

To Reproduce
I have created a gist with a minimum working example: https://gist.github.com/RichardPoes/1662357aa582454198b08ce04e1cf51e
This code can be pasted inside the code tab of the Radzen Blazor documentation page of the stacked column chart https://blazor.radzen.com/stacked-column-chart

Expected behavior
I would expect the topmost part of the bar to be always rounded, regardless of whether there being 0-valued categories stacked upon it.

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser: Google Chrome
  • Version: 128.0.6613.114 (Official Build) (64-bit)

Additional context
No additional comments, but I'd be happy to answer questions, or to help in other ways.

@enochwhitaker3
Copy link

enochwhitaker3 commented Nov 15, 2024

I think I've got this fixed and I will be making a PR when I get the code to be a little cleaner
image

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

No branches or pull requests

2 participants