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.

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.
Bar chart with 1 data series.
SeriesW1W2W3W4W5W6W7W8W9W10W11W12
Tickets closed182621332839314438514657

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.
Line chart with 1 data series.
SeriesW1W2W3W4W5W6W7W8W9W10W11W12
Tickets closed182621332839314438514657

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.
Line chart with 1 data series.
SeriesW1W2W3W4W5W6W7W8W9W10W11W12
Orders426138704578528449905896

Feedback

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