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.
Pie & Doughnut
Pie and doughnut charts, gauges, multiple rings, a KPI in the center, spacing, offsets and rounded arcs.
Pie
A pie splits one dataset into proportional slices, colored from the palette by data index. Hover shows a
slice's value and percentage; clicking a legend label removes it from the total.
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 | Direct | Organic | Referral | Social | |
|---|---|---|---|---|---|
| Sessions | 300 | 500 | 180 | 240 | 120 |
Doughnut
A doughnut is a pie with the middle cut out by
CutoutPercentage, leaving room for a headline
number.
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 | Direct | Organic | Referral | Social | |
|---|---|---|---|---|---|
| Sessions | 300 | 500 | 180 | 240 | 120 |
Half doughnut (gauge)
Narrowing the sweep with
CircumferenceDegrees and rotating the start with
RotationDegrees turns a doughnut into a gauge - 180° starting at the left here.
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 | Used | Free |
|---|---|---|
| Dataset 1 | 68 | 32 |
Multi-ring
Several datasets render as concentric rings sharing one set of labels.
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 | Mobile | Desktop | Tablet |
|---|---|---|---|
| 2025 | 55 | 35 | 10 |
| 2026 | 62 | 28 | 10 |
Center text (KPI)
BitChartCenterTextPlugin writes one or two lines into the cutout, shrunk to fit, and says them
to screen readers too. It is an ordinary IBitChartPlugin, so custom overlays hook in the same
way - and describe what they draw through Describe.
Marked on the chart: 1,340 sessions.
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 | Direct | Organic | Referral | Social | |
|---|---|---|---|---|---|
| Sessions | 300 | 500 | 180 | 240 | 120 |
Spacing, offset and hover
SpacingArc gaps neighbouring slices, Offset pushes every slice out from the
center and HoverOffset the hovered one further, with HoverBackgroundColor
repainting it.
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 | Direct | Organic | Referral | Social | |
|---|---|---|---|---|---|
| Sessions | 300 | 500 | 180 | 240 | 120 |
Rounded arcs and ring weights
BorderRadius rounds an arc's corners, clamped to half the ring's thickness.
Weight sets each ring's share of the radius in a multi-dataset doughnut.
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 | Mobile | Desktop | Tablet |
|---|---|---|---|
| 2026 | 62 | 28 | 10 |
| 2025 | 55 | 35 | 10 |
Feedback
Found a mistake, a gap, or something that could be clearer? Every page and every component is one click from its source.