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.

Animations

How the bars grow and the lines draw on as a chart appears.

Bars

Entry animations are pure CSS: the duration and easing map to animation-duration and animation-timing-function, and a positive DelayBetween staggers the bars. They replay when the data changes, not on resize, zoom or pan.
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.
SeriesJanFebMarAprMayJunJul
Value40655080607255

Line draw-on

Progressive draws the stroke on from left to right and pops each marker in as the line reaches it. Dashed lines fade in instead, since their dash pattern already uses the stroke dash array.
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.
SeriesJanFebMarAprMayJunJul
Trend40655080607255

Feedback

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