chart.pan

Configuration Structure

chart: {
pan: { ... },
inertia: boolean,
friction: number,
}

The pan options control kinetic (momentum) panning on touch devices, part of the Momentum gesture set. A one-finger pan released with velocity keeps gliding and decelerates, clamping at the data edges with no elastic overshoot. This is a core behavior (no feature import needed) and is on by default. See the Mobile gestures guide. It is part of the chart configuration.

inertia

chart.pan.inertia
Default: true

Keep panning with momentum after a one-finger flick. Set false to stop the pan the instant the finger lifts.

friction

chart.pan.friction
Default: 0.92

Velocity decay applied each animation frame, between 0 and 1. Lower values stop the glide sooner; higher values coast longer.