Stacked Column Chart radius not applied #1193

Closed
opened 2026-01-29 17:50:12 +00:00 by claunia · 0 comments
Owner

Originally created by @tanzeelahmed1996 on GitHub (Apr 16, 2024).

Describe the bug
In a stacked column chart with multiple series, if the upper most series doesn't contain any data then the custom radius is not applied to the next highest bar.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://blazor.radzen.com/stacked-column-chart
  2. Remove the Q1 revenue for the 2023 series. Change the code for setting the data to:
    DataItem[] revenue2023 = new DataItem[] {
    new DataItem
    {
    Quarter = "Q2",
    Revenue = 284000
    },
    new DataItem
    {
    Quarter = "Q3",
    Revenue = 274000
    },
    new DataItem
    {
    Quarter = "Q4",
    Revenue = 294000
    },
    };
  3. View the chart

Alternatively link your repo with a sample project that can be run.

Expected behavior
Ideally want the radius to be applied to the next bar.

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows
  • Browser: Chrome

Additional context
If you click Q1 on the right hand side so to remove it from the graph, the radius is applied correctly.

Originally created by @tanzeelahmed1996 on GitHub (Apr 16, 2024). <!-- IMPORTANT: Read this first!!! 1. If you own a Radzen Professional or Еnterprise subscription you can report your issue or ask us a question via email at info@radzen.com. Radzen staff will reply within 24 hours (Professional) or 16 hours (Enterprise) 2. The Radzen staff guarantees a response to issues in this repo only to paid subscribers. 3. If you have a HOW TO question start a new forum thread in the Radzen Community forum: https://forum.radzen.com. Radzen staff will close issues that are HOWTO questions. 4. Please adhere to the issue template. Specify all the steps required to reproduce the issue or link a project which reproduces it easily (without requiring extra steps such as restoring a database). --> **Describe the bug** In a stacked column chart with multiple series, if the upper most series doesn't contain any data then the custom radius is not applied to the next highest bar. **To Reproduce** Steps to reproduce the behavior: 1. Go to https://blazor.radzen.com/stacked-column-chart 2. Remove the Q1 revenue for the 2023 series. Change the code for setting the data to: DataItem[] revenue2023 = new DataItem[] { new DataItem { Quarter = "Q2", Revenue = 284000 }, new DataItem { Quarter = "Q3", Revenue = 274000 }, new DataItem { Quarter = "Q4", Revenue = 294000 }, }; 3. View the chart Alternatively link your repo with a sample project that can be run. **Expected behavior** Ideally want the radius to be applied to the next bar. **Screenshots** ![image](https://github.com/radzenhq/radzen-blazor/assets/57502130/57569cb7-81ff-4995-b506-37f7f5765455) **Desktop (please complete the following information):** - OS: Windows - Browser: Chrome **Additional context** If you click Q1 on the right hand side so to remove it from the graph, the radius is applied correctly.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#1193