Charts
TwMatrixChart
TwMatrixChart is a Blazor matrix chart: a grid with a dot sized by value where a row and a column meet, for two categorical dimensions.
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
TwMatrixChart lays each series out as a row and each category as a column, and draws a dot where they meet, sized by the value. The area of the dot, not its width, follows the value.Labels
ValueLabel names the value in tooltips and CategoryHeader names the first column of the table view.RAZOR
<TwChart Title="Support tickets by day and shift">
<TwMatrixChart Categories="@_days" Series="@_shifts" ValueLabel="Tickets" CategoryHeader="Day" />
</TwChart>When to use
Dot sizes are harder to compare than shades when values are close together. For a dense grid, or to print the values, use TwHeatmapChart.
Summary
Tooltips and the table view give the value of every series for each category.