Basic

Stacked vertical bars

razor
<StackedBarChart Categories="months" Series="series" Height="350px" /> @code { private List<ChartSeries> series = new() { new() { Name = "ICU", Data = new() { 12, 15, 10, 18, 14, 20 } }, new() { Name = "General", Data = new() { 45, 52, 38, 60, 42, 55 } }, new() { Name = "Outpatient", Data = new() { 80, 75, 90, 85, 95, 88 } } }; }

Horizontal

Horizontal="true" rotates the axis

razor
<StackedBarChart Categories="months" Series="series" Horizontal="true" Height="350px" />
An unhandled error has occurred. Reload 🗙

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.