radzenhq / radzen-blazor

Radzen Blazor is a set of 90+ free native Blazor UI components packed with DataGrid, Scheduler, Charts and robust theming including Material design and FluentUI.

Home Page:https://www.radzen.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stacked Column Chart radius not applied

tanzeelahmed1996 opened this issue · comments

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.