Charts
TwDotPlotChart
TwDotPlotChart is a Blazor dot plot that compares series by position on a shared line per category. The scale does not need to start at zero.
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
TwDotPlotChart places one dot per series on a shared line for each category, so values are compared by position rather than length. Because nothing is measured from a baseline, the scale can zoom in on the range the data occupies, which makes small differences visible.Vertical
Set
Vertical to place the categories along the bottom with values running upwards.RAZOR
<TwChart Title="Revenue by region and year">
<TwDotPlotChart Categories="@_regions" Series="@_yearly" Vertical="true" />
</TwChart>Summary
Tooltips and the table view give the value of every series for each category.