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

Closed
opened 2026-01-29 17:52:44 +00:00 by claunia · 1 comment
Owner

Originally created by @RiRiSharp on GitHub (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.

Originally created by @RiRiSharp on GitHub (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](https://github.com/user-attachments/assets/97ab96f0-4f19-4b30-b9c4-d603535fd34b) **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.*
Author
Owner

@enochwhitaker3 commented on GitHub (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

@enochwhitaker3 commented on GitHub (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](https://github.com/user-attachments/assets/7f0882e4-4b0c-42c4-92ca-d7c3cbb62b7a)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#1372