Mouse wheel zoom is anchored to the current mouse position inside the chart container, so the content under the pointer should stay under the pointer while zooming.
Wheel input is ignored when the pointer is outside the chart container bounds. On touch devices, pinch zoom is anchored to the midpoint between the two fingers.
Drag the chart to pan. Use mouse wheel or touch pinch to verify the zoom anchor behavior.
If you want an overview navigator for the same interaction model, open the minimap demo to move the main chart through the viewport rectangle in the lower-right corner.