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.
| Series | 15:47:17 | 15:47:17 | 15:47:17 | 15:47:17 | 15:47:17 | 15:47:17 | 15:47:17 | 15:47:17 | 15:47:17 | 15:47:17 | 15:47:17 | 15:47:17 | 15:47:17 | 15:47:17 | 15:47:17 | 15:47:17 | 15:47:17 | 15:47:17 | 15:47:17 | 15:47:17 | 15:47:17 | 15:47:17 | 15:47:17 | 15:47:17 | 15:47:17 | 15:47:17 | 15:47:17 | 15:47:17 | 15:47:17 | 15:47:17 | 15:47:17 | 15:47:17 | 15:47:17 | 15:47:17 | 15:47:17 | 15:47:17 | 15:47:17 | 15:47:17 | 15:47:17 | 15:47:17 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Throughput | 49.5 | 41.3 | 40.5 | 47.9 | 42 | 36 | 42.1 | 50.4 | 47.5 | 44.4 | 42.5 | 34.5 | 29 | 23.5 | 26.8 | 34 | 33.7 | 39.4 | 47.9 | 49.3 | 45.3 | 46.1 | 52.4 | 59.2 | 64.2 | 66 | 64.1 | 64.1 | 65.7 | 73.6 | 69 | 66.4 | 70.3 | 66.1 | 65.8 | 61.1 | 54.7 | 61.5 | 56.5 | 51.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.
| 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 |
Feedback
Found a mistake, a gap, or something that could be clearer? Every page and every component is one click from its source.