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.

Accessibility

What keyboard and screen-reader users get from a chart.

Keyboard and screen readers

Tab into the plot, then walk it: Left/Right move through a series, Up/Down between series, Home/End jump to the ends, Enter raises OnElementClick and Escape leaves (it also closes a tooltip the mouse opened). Each step is announced. AriaLabel names the chart (falling back to its title), Description sums it up, NavigationHint says how to walk it, and a hidden data table (GenerateTable) holds every value. Disabled takes the chart out of the tab order.
Press Enter on a bar
North leads every quarter and both regions peak in Q4.
Use the arrow keys to compare regions and quarters, Enter to select one.
Quarterly revenue by region
SeriesQ1Q2Q3Q4
North42514860
South35394652

Feedback

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