Extras
Chart
Bit.BlazorUI.ExtrasGraphPlot
BitChart renders native SVG computed in C# - no canvas or JavaScript engine - so it works in prerendering and static SSR. A Chart.js-like API (BitChartType + BitChartData + BitChartOptions, or one BitChartConfig) draws line, bar, area, pie, doughnut, polar area, radar, scatter, bubble, mixed and sparkline charts, styled by the bit theme and public --bit-Chart-* CSS variables, with keyboard and screen-reader support and SVG/PNG/CSV export.
Bar
Grouped, stacked, horizontal, floating and 100% stacked bars, rounded corners, pattern fills, stacked groups, error bars and waterfalls.
Grouped
By default datasets stand side by side within each category.
CategoryPercentage sets how much
of the band the group takes and BarPercentage how much of its slot each bar fills.
Interactive chart. Use the left and right arrow keys to move through a series, the up and down arrow keys to move between series, Home and End for the first and last value, Enter to select, and Escape to leave.
| Series | Jan | Feb | Mar | Apr | May | Jun | Jul |
|---|---|---|---|---|---|---|---|
| Product A | 12 | 19 | 14 | 22 | 18 | 25 | 20 |
| Product B | 8 | 11 | 17 | 9 | 14 | 12 | 19 |
| Product C | 5 | 7 | 9 | 12 | 8 | 10 | 14 |
Stacked
Stacked on the value scale accumulates the datasets, so each bar is a total broken into parts.
Positive and negative values stack away from zero independently.
Interactive chart. Use the left and right arrow keys to move through a series, the up and down arrow keys to move between series, Home and End for the first and last value, Enter to select, and Escape to leave.
| Series | Jan | Feb | Mar | Apr | May | Jun | Jul |
|---|---|---|---|---|---|---|---|
| Product A | 12 | 19 | 14 | 22 | 18 | 25 | 20 |
| Product B | 8 | 11 | 17 | 9 | 14 | 12 | 19 |
| Product C | 5 | 7 | 9 | 12 | 8 | 10 | 14 |
Horizontal
IndexAxis = BitChartIndexAxis.Y draws horizontal bars, giving long category names more room.
Interactive chart. Use the left and right arrow keys to move through a series, the up and down arrow keys to move between series, Home and End for the first and last value, Enter to select, and Escape to leave.
| Series | Red | Blue | Teal | Orange | Purple |
|---|---|---|---|---|---|
| Votes | 12 | 19 | 7 | 15 | 9 |
Rounded + per-bar colors
BorderRadius rounds the corners away from the baseline, keeping a flat foot on the axis. A
list in BackgroundColors gives one color per category instead of per series.
Interactive chart. Use the left and right arrow keys to move through a series, the up and down arrow keys to move between series, Home and End for the first and last value, Enter to select, and Escape to leave.
| Series | Red | Blue | Teal | Orange | Purple |
|---|---|---|---|---|---|
| Votes | 12 | 19 | 7 | 15 | 9 |
Floating bars
With
RangeData each bar spans a [low, high] pair instead of growing from zero -
for ranges, price bands and Gantt-style schedules.
Interactive chart. Use the left and right arrow keys to move through a series, the up and down arrow keys to move between series, Home and End for the first and last value, Enter to select, and Escape to leave.
| Series | Mon | Tue | Wed | Thu | Fri |
|---|---|---|---|---|---|
| Temp range (°C) | 8–16 | 10–19 | 7–14 | 11–21 | 9–18 |
100% stacked
Stacked100 normalizes every category to 100% to show composition; the tooltip still shows the
original values.
Interactive chart. Use the left and right arrow keys to move through a series, the up and down arrow keys to move between series, Home and End for the first and last value, Enter to select, and Escape to leave.
| Series | Jan | Feb | Mar | Apr | May | Jun | Jul |
|---|---|---|---|---|---|---|---|
| Product A | 12 | 19 | 14 | 22 | 18 | 25 | 20 |
| Product B | 8 | 11 | 17 | 9 | 14 | 12 | 19 |
| Product C | 5 | 7 | 9 | 12 | 8 | 10 | 14 |
Pattern fills
BackgroundPattern fills the bars with a repeating hatch, grid or dot texture, keeping series
distinguishable in black-and-white print and for color-blind readers.
Interactive chart. Use the left and right arrow keys to move through a series, the up and down arrow keys to move between series, Home and End for the first and last value, Enter to select, and Escape to leave.
| Series | Alpha | Beta | Gamma | Delta |
|---|---|---|---|---|
| A | 40 | 55 | 35 | 60 |
| B | 28 | 42 | 50 | 33 |
Top-rounded corners
BorderRadiusCorners sets which corners are rounded when the automatic choice is not wanted -
here only the top two, with BitChartBorderRadiusCorners.Top.
Interactive chart. Use the left and right arrow keys to move through a series, the up and down arrow keys to move between series, Home and End for the first and last value, Enter to select, and Escape to leave.
| Series | Jan | Feb | Mar | Apr | May | Jun | Jul |
|---|---|---|---|---|---|---|---|
| Throughput | 40 | 65 | 50 | 80 | 60 | 72 | 55 |
Auto-rotated labels
Category labels that do not fit their band rotate just enough to fit, never past
MaxRotation,
and the axis reserves the extra height they need.
Interactive chart. Use the left and right arrow keys to move through a series, the up and down arrow keys to move between series, Home and End for the first and last value, Enter to select, and Escape to leave.
| Series | United States | United Kingdom | Germany | Netherlands | Switzerland | Australia | New Zealand |
|---|---|---|---|---|---|---|---|
| Index | 72 | 65 | 80 | 58 | 91 | 67 | 74 |
Stacked groups
Datasets sharing a
Stack id accumulate together, one column per id. The value axis fits the
tallest stack, not the sum of all of them.
Interactive chart. Use the left and right arrow keys to move through a series, the up and down arrow keys to move between series, Home and End for the first and last value, Enter to select, and Escape to leave.
| Series | Q1 | Q2 | Q3 | Q4 |
|---|---|---|---|---|
| 2025 · New | 20 | 28 | 24 | 32 |
| 2025 · Renew | 12 | 16 | 14 | 18 |
| 2026 · New | 26 | 30 | 29 | 38 |
| 2026 · Renew | 15 | 18 | 17 | 22 |
Minimum length and a custom base
MinBarLength keeps near-zero values visible instead of collapsing into the axis, and
Base moves the value bars grow from - here a target of 100.
Interactive chart. Use the left and right arrow keys to move through a series, the up and down arrow keys to move between series, Home and End for the first and last value, Enter to select, and Escape to leave.
| Series | Jan | Feb | Mar | Apr | May | Jun | Jul |
|---|---|---|---|---|---|---|---|
| Units vs target | 118 | 96 | 100.2 | 131 | 88 | 104 | 112 |
Overlaid series and skipped gaps
A dataset with
Grouped = false spans the full category band, e.g. a target drawn behind the
actuals. SkipNull lets the other bars widen over categories where a series has no value.
Interactive chart. Use the left and right arrow keys to move through a series, the up and down arrow keys to move between series, Home and End for the first and last value, Enter to select, and Escape to leave.
| Series | Jan | Feb | Mar | Apr | May | Jun | Jul |
|---|---|---|---|---|---|---|---|
| Budget | 20 | 22 | 24 | 26 | 28 | 30 | 32 |
| Team A | 12 | 19 | 14 | 22 | 18 | 25 | 20 |
| Team B | 8 | 17 | 14 | 12 | 19 |
Error bars
ErrorData draws a capped whisker through each value's tip and names the interval in the
tooltip. A BitChartErrorBar takes one number (symmetric) or two (asymmetric);
null skips a value. Style it with ErrorBarColor, ErrorBarWidth and
ErrorBarCapWidth; lines and scatter support it too.
Interactive chart. Use the left and right arrow keys to move through a series, the up and down arrow keys to move between series, Home and End for the first and last value, Enter to select, and Escape to leave.
| Series | Jan | Feb | Mar | Apr | May | Jun | Jul |
|---|---|---|---|---|---|---|---|
| Response time (ms) | 120 ±12 | 138 ±9 | 131 ±15 | 156 +24/-6 | 149 ±11 | 162 | 158 ±8 |
Waterfall
A waterfall from existing options:
RangeData floats each bar between the running totals before
and after its step, BackgroundColorFn colors it by direction, and Callbacks.Label
reports the step instead of the bar's two ends.
Interactive chart. Use the left and right arrow keys to move through a series, the up and down arrow keys to move between series, Home and End for the first and last value, Enter to select, and Escape to leave.
| Series | Opening | New | Upsell | Churn | Discounts | Expansion | Closing |
|---|---|---|---|---|---|---|---|
| MRR | 0–120 | 120–166 | 166–184 | 152–184 | 141–152 | 141–165 | 0–165 |
Feedback
Found a mistake, a gap, or something that could be clearer? Every page and every component is one click from its source.