Blazor Stacked Bar Chart Example
This example demonstrates a Blazor stacked bar chart that illustrates renewable energy generation in China from 2020 to 2023, segmented by wind, solar, and hydro sources. The legend in the sample shows more information about the series.
In this example, you can see how to render and configure the stacked bar chart. The stacked bar chart stacks points in the series horizontally. You can also use the StackingGroup property to group stacked collections based on category.
Tooltip
is enabled in this example. To see the tooltip in action, hover over a point or tap on a point in touch-enabled devices.
More information about the stacked bar series can be found in this documentation section.