Skip to content
CHARTS · COMPLETE

PyramidChart

PyramidChart is part of RayCraft Complete.

Example

<PyramidChart Label="Population by age" Categories="_ages" Left="_men" Right="_women" />

@code {
    private readonly string[] _ages = ["65+", "45-64", "25-44", "15-24", "0-14"];
    private readonly ChartSeries _men = new("Men", [8, 21, 30, 12, 13]);
    private readonly ChartSeries _women = new("Women", [11, 23, 29, 11, 12]);
}

A short fragment. Add @using RayCraft.Blazor.Components to your page and use an interactive render mode.

Part of RayCraft Complete.

All controls ยท Documentation