Charts
TwBarcodeChart
TwBarcodeChart is a Blazor barcode chart that draws a thin line for every raw observation along one axis, so clusters and gaps stand out.
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
TwBarcodeChart draws a thin vertical line for every value in Values along a single horizontal axis. Clusters show as dense stripes and gaps as white space, without the values being grouped into ranges first.Clusters and gaps
Two tight groups with nothing between them is a pattern a histogram can blur if a bin happens to straddle the gap. On a barcode chart it is unmistakable.
Repeated values
Values that repeat share one line, and its tooltip and table row give how many observations it stands for. Use
ValueLabel and CountLabel to name the two columns.When to use
A barcode chart suits a few dozen to a few hundred observations. Beyond that the lines merge, and TwHistogramChart or TwDensityPlotChart is the better choice.
Summary
Tooltips and the table view give each value and the count of observations that share it. The arrow keys step through the values from lowest to highest.