Keyboard Interaction in React Chart

The Chart component followed the keyboard interaction guideline, making it easy for people who use assistive technologies (AT) and those who completely rely on keyboard navigation. The following keyboard shortcuts are supported by the Chart component.

Here’s the updated table with an additional column that converts the Windows key combinations to their Mac equivalents:

WindowsmacOSAction
Alt + JOption + JMoves the focus to the chart element.
TabTabMoves the focus to the next element in the chart.
Shift + TabShift + TabMoves the focus to the previous element in the chart.
Down ArrowDown ArrowMoves the focus to the data point left side from the selected point.
Up ArrowUp ArrowMoves the focus to the data point right side from the selected point.
Left ArrowLeft ArrowMoves the focus to the next series in the chart.
Right ArrowRight ArrowMoves the focus to the previous series in the chart.
ESCESCCancel the tooltip for the data point.
Down/Left ArrowDown/Left ArrowMoves the focus to the legend left side from the selected legend.
Up/Right ArrowUp/Right ArrowMoves the focus to the legend right side from the selected legend.
Enter/SpaceReturn/SpaceToggles the visibility of the corresponding series.
Ctrl + +Command + +Zoom in the chart.
Ctrl + -Command + -Zoom out the chart.
Down/Up ArrowDown/Up ArrowPan the chart vertically.
Left/Right ArrowLeft/Right ArrowPan the chart horizontally.
RRReset the zoomed chart.
Loading...