Welcome to the Highcharts Maps JS (highmaps) Options Reference

These pages outline the chart configuration options, and the methods and properties of Highcharts objects.

Feel free to search this API through the search bar or the navigation tree in the sidebar.

chart.events.pan

Fires while the chart is panned by mouse drag. Panning must be enabled through chart.panning. One parameter, event, is passed to the function, containing common event information as well as event.originalEvent, the underlying pointer event. Note that the event fires for every mouse move during the drag, not once per gesture.

Calling event.preventDefault() or returning false prevents the default panning of the axes. In Highcharts Maps, and on ordinal axes in Highcharts Stock, the panning is applied outside the default action and is not prevented.

Panning by touch does not fire this event, unless chart.zooming.singleTouch is enabled and no zoom type is set. Single-finger drags are then handled as mouse drags and fire this event.