Charts
TwSmallMultiplesChart
TwSmallMultiplesChart is a Blazor small multiples chart: one small panel per series on a shared scale, for comparing many series clearly.
Last updated
Please be aware this component is new, may have bugs and/or be subject to change. Please report any bugs at
https://github.com/twblazor/twblazor/issues.
Basic usage
TwSmallMultiplesChart repeats one simple chart per series, all on one shared scale so the panels can be compared at a glance. Reach for it when a single plot would hold too many series to tell apart.Kind
Kind picks the mark drawn in each panel: SmallMultipleKind.Column (the default), Line or Area.RAZOR
<TwChart Title="Monthly visitors by channel">
<TwSmallMultiplesChart Categories="@_months" Series="@_visitors" Kind="SmallMultipleKind.Line" />
</TwChart>RAZOR
<TwChart Title="Monthly visitors by channel">
<TwSmallMultiplesChart Categories="@_months" Series="@_visitors" Kind="SmallMultipleKind.Area" />
</TwChart>Columns
Up to three panels share a row. Set
Columns to change that, and Height to give several rows more room.RAZOR
<TwChart Title="Monthly visitors by channel">
<TwSmallMultiplesChart Categories="@_months" Series="@_visitors" Columns="1" Height="ChartHeight.Large" />
</TwChart>Summary
Tooltips and the table view give the value of every series for each category.