Skip to content

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.

Live data

Streaming data into a chart, and showing or hiding series from code.

Streaming updates

Mutating the same BitChartData instance does not re-render the chart; call Refresh() to rebuild it from the current data. An open tooltip stays on its reading across updates.
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.
Line chart with 1 data series.
Series15:47:1715:47:1715:47:1715:47:1715:47:1715:47:1715:47:1715:47:1715:47:1715:47:1715:47:1715:47:1715:47:1715:47:1715:47:1715:47:1715:47:1715:47:1715:47:1715:47:1715:47:1715:47:1715:47:1715:47:1715:47:1715:47:1715:47:1715:47:1715:47:1715:47:1715:47:1715:47:1715:47:1715:47:1715:47:1715:47:1715:47:1715:47:1715:47:1715:47:17
Throughput49.541.340.547.9423642.150.447.544.442.534.52923.526.83433.739.447.949.345.346.152.459.264.26664.164.165.773.66966.470.366.165.861.154.761.556.551.2

Showing and hiding series from code

ToggleDataset, SetDatasetVisible and IsDatasetVisible drive dataset visibility from code, ToggleDataIndex does it per slice for pie, doughnut and polar area, and ResetVisibility shows everything again. Axes re-scale as on a legend click.
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.
Bar chart with 3 data series.
SeriesJanFebMarAprMayJunJul
Product A12191422182520
Product B811179141219
Product C5791281014

Feedback

Found a mistake, a gap, or something that could be clearer? Every page and every component is one click from its source.