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.
Trendlines
Linear regression lines, projections across the plot, moving averages and the mean.
Linear regression
BitChartTrendlinePlugin fits a line through a dataset and draws it over the chart. The default
Linear kind is a least-squares regression, dashed and in the dataset's color unless set
otherwise.
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 | W1 | W2 | W3 | W4 | W5 | W6 | W7 | W8 | W9 | W10 | W11 | W12 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Tickets closed | 18 | 26 | 21 | 33 | 28 | 39 | 31 | 44 | 38 | 51 | 46 | 57 |
Projected across the plot
Extend continues the fitted line to both plot edges instead of stopping at the first and last
point; a Label adds a named pill at its end.
Marked on the chart: trend (Tickets closed).
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 | W1 | W2 | W3 | W4 | W5 | W6 | W7 | W8 | W9 | W10 | W11 | W12 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Tickets closed | 18 | 26 | 21 | 33 | 28 | 39 | 31 | 44 | 38 | 51 | 46 | 57 |
Moving average and the mean
MovingAverage smooths over a trailing Period window and Average
draws a flat line at the mean. Each trend line binds to its dataset by DatasetIndex, so
several can share a chart.
Marked on the chart: 4-week average (Orders).
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 | W1 | W2 | W3 | W4 | W5 | W6 | W7 | W8 | W9 | W10 | W11 | W12 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Orders | 42 | 61 | 38 | 70 | 45 | 78 | 52 | 84 | 49 | 90 | 58 | 96 |
Feedback
Found a mistake, a gap, or something that could be clearer? Every page and every component is one click from its source.