Charts
TwDumbbellChart
TwDumbbellChart is a Blazor dumbbell chart: two dots per category joined by a bar, highlighting the gap between values such as before and after.
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
TwDumbbellChart is a dot plot whose dots are joined by a bar. The bar makes the size of the gap the first thing the reader sees, which suits before and after, target and actual, or any two groups.Vertical
Set
Vertical to place the categories along the bottom.RAZOR
<TwChart Title="Revenue change by region">
<TwDumbbellChart Categories="@_regions" Series="@_yearly" Vertical="true" />
</TwChart>More than two series
The bar always spans from the lowest to the highest value in the category, so a third series sits somewhere along it.
Summary
Tooltips and the table view give the value of every series for each category.