Charts
TwWaffleChart
TwWaffleChart is a Blazor waffle chart: a ten by ten grid of squares, each worth one percent, colored by each value's share.
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
TwWaffleChart shows parts of a whole as a ten by ten grid where each square is one percent. Counting squares is easier than judging angles, so small differences read more reliably than on a pie.- Search (43%)
- Direct (26%)
- Social (17%)
- Email (9%)
- Referral (5%)
Two parts
It is at its clearest for a single share against the rest.
- Responded (62%)
- No response (38%)
Rounding
Squares are shared out so the grid is always full, even when the shares do not round to whole percentages. The legend states each exact share.
Summary
Tooltips and the table view give the value of each category. Tooltips also give its share of the whole.