Interface: PointEventsOptionsObject

Highcharts. PointEventsOptionsObject

Members

click :Highcharts.PointClickCallbackFunction|undefined

Fires when a point is clicked. One parameter, event, is passed to the function, containing common event information.

If the series.allowPointSelect option is true, the default action for the point's click event is to toggle the point's select state. Returning false cancels this action.

Type:

drag :Highcharts.PointDragCallbackFunction|undefined

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.

Type:

dragDrop :Highcharts.SeriesLineDataDragDropOptions|Highcharts.SeriesXrangeDataDragDropOptions|undefined

Point specific options for the draggable-points module.

Type:
  • Highcharts.SeriesLineDataDragDropOptions | Highcharts.SeriesXrangeDataDragDropOptions | undefined

dragStart :Highcharts.PointDragStartCallbackFunction|undefined

Callback that fires when starting to drag a point. The mouse event object is passed in as an argument. If a drag handle is used, e.updateProp is set to the data property being dragged. The this context is the point.

Type:

drop :Highcharts.PointDropCallbackFunction|undefined

Callback that fires when the point is dropped. The parameters passed are the same as for drag. To stop the default drop action, return false.

Type:

mouseOut :Highcharts.PointMouseOutCallbackFunction|undefined

Fires when the mouse leaves the area close to the point. One parameter, event, is passed to the function, containing common event information.

Type:

mouseOver :Highcharts.PointMouseOverCallbackFunction|undefined

Fires when the mouse enters the area close to the point. One parameter, event, is passed to the function, containing common event information.

Type:

remove :Highcharts.PointRemoveCallbackFunction|undefined

Fires when the point is removed using the .remove() method. One parameter, event, is passed to the function. Returning false cancels the operation.

Type:

select :Highcharts.PointSelectCallbackFunction|undefined

Fires when the point is selected either programmatically or following a click on the point. One parameter, event, is passed to the function. Returning false cancels the operation.

Type:

unselect :Highcharts.PointUnselectCallbackFunction|undefined

Fires when the point is unselected either programmatically or following a click on the point. One parameter, event, is passed to the function. Returning false cancels the operation.

Type:

update :Highcharts.PointUpdateCallbackFunction|undefined

Fires when the point is updated programmatically through the .update()`` method. One parameter,event, is passed to the function. The new point options can be accessed through event.options. Returningfalse` cancels the operation.

Type:

Interface: PointEventsOptionsObject

Highcharts. PointEventsOptionsObject

Events for each single point.

Members

click :Highcharts.PointClickCallbackFunction|undefined

Fires when a point is clicked. One parameter, event, is passed to the function, containing common event information.

If the series.allowPointSelect option is true, the default action for the point's click event is to toggle the point's select state. Returning false cancels this action.

Type:

drag :Highcharts.PointDragCallbackFunction|undefined

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.

Type:

dragDrop :Highcharts.SeriesLineDataDragDropOptions|Highcharts.SeriesXrangeDataDragDropOptions|undefined

Point specific options for the draggable-points module.

Type:
  • Highcharts.SeriesLineDataDragDropOptions | Highcharts.SeriesXrangeDataDragDropOptions | undefined

dragStart :Highcharts.PointDragStartCallbackFunction|undefined

Callback that fires when starting to drag a point. The mouse event object is passed in as an argument. If a drag handle is used, e.updateProp is set to the data property being dragged. The this context is the point.

Type:

drop :Highcharts.PointDropCallbackFunction|undefined

Callback that fires when the point is dropped. The parameters passed are the same as for drag. To stop the default drop action, return false.

Type:

mouseOut :Highcharts.PointMouseOutCallbackFunction|undefined

Fires when the mouse leaves the area close to the point. One parameter, event, is passed to the function, containing common event information.

Type:

mouseOver :Highcharts.PointMouseOverCallbackFunction|undefined

Fires when the mouse enters the area close to the point. One parameter, event, is passed to the function, containing common event information.

Type:

remove :Highcharts.PointRemoveCallbackFunction|undefined

Fires when the point is removed using the .remove() method. One parameter, event, is passed to the function. Returning false cancels the operation.

Type:

select :Highcharts.PointSelectCallbackFunction|undefined

Fires when the point is selected either programmatically or following a click on the point. One parameter, event, is passed to the function. Returning false cancels the operation.

Type:

unselect :Highcharts.PointUnselectCallbackFunction|undefined

Fires when the point is unselected either programmatically or following a click on the point. One parameter, event, is passed to the function. Returning false cancels the operation.

Type:

update :Highcharts.PointUpdateCallbackFunction|undefined

Fires when the point is updated programmatically through the .update()`` method. One parameter,event, is passed to the function. The new point options can be accessed through event.options. Returningfalse` cancels the operation.

Type: