JS API Reference

Welcome to the Highcharts JS 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.

series.line.data.events.drag

Callback that fires while dragging a point. The mouse event is passed in as parameter. The original data can be accessed from e.origin, and the new point values can be accessed from e.newPoints. If there is only a single point being updated, it can be accessed from e.newPoint for simplicity, and its ID can be accessed from e.newPointId. The this context is the point being dragged. To stop the default drag action, return false. See drag and drop options.

Requires the draggable-points module.