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.

Titles

Chart titles and subtitles, where they go, and axis titles.

Title and subtitle

Plugins.Title and Plugins.Subtitle render above the plot with their own font, color and alignment. The title is also the chart's accessible name when no AriaLabel is set.
Revenue by product
Thousands of euro, first seven months
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.
Revenue by product
SeriesJanFebMarAprMayJunJul
Product A12191422182520
Product B811179141219
Product C5791281014

Placement

Placement puts the title on any side (the ones beside the plot run vertically; Start and End follow the reading direction where Left and Right stay put), Align pins it to the start, center or end, and a newline in the text breaks it over two lines.
Monthly sales
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.
Monthly sales
SeriesJanFebMarAprMayJunJul
202565598081565572
202628484060869278

Axis titles

Each scale's Title is drawn along its axis, with room reserved so it never overlaps the tick labels.
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 2 data series.
SeriesJanFebMarAprMayJunJul
202565598081565572
202628484060869278

Feedback

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