Skip to content
peakcharts

Interaction

Reading a value and keeping it on screen use the same gestures for mouse, touch and keyboard.

GestureResult
Hover or focus a markShows its value.
Click, tap, Enter or SpacePins the value. Hovering other marks does not replace it.
Activate the pinned mark againReleases the pin.
EscapeClears the pin.
Revenue by month
Revenue by monthClick a mark to pin its value; click it again to release. Keyboard: Enter or Space to pin, Escape to release. Data table below.021426384JanFebMarAprMayJunJan: 32Feb: 46Mar: 63Apr: 58May: 71Jun: 84
Click a mark to pin its value
View data
Revenue by month
LabelValue
Jan32
Feb46
Mar63
Apr58
May71
Jun84

Try it above. Funnel and treemap print each value on the chart. Keyboard focus is always visible, and pointer clicks do not draw a focus ring.