Charts Keyboard

Keyboard navigation moves focus between marks with Arrow, Home, and End. Escape clears the active highlight. Line charts default to a strict inferred x-axis domain; override with AxisDef.domain_limit when nice padding is preferred.

  • Dashboards that must be operable without a pointer.
  • Verifying roving focus and tooltip sync on line marks.
  • Comparing strict vs nice x-axis domain limits on line cartesian charts.
  • Focus the chart root (tabindex=0) and press Arrow keys to move between marks.
  • Set keyboard_navigation=false or clear ChartFeatures::KEYBOARD_NAV to opt out.
  • Set show_markers: true when visible marks help keyboard discovery (off by default).
Keyboard navigation on a line chart

Arrow keys move between marks; Home and End jump to the first and last points.

Focus the chart and use Arrow keys, Home, and End. Escape clears highlight.

200k400k600kAmount (USD)Q1Q2Q3Q4Quarter

Inferred x-axis: Strict domain (line default)

020406080100

Explicit x-axis: Nice domain override

020406080100Value