Class: AnnotationControlPoint

Highcharts. AnnotationControlPoint

new AnnotationControlPoint(chart, target, options [, index])

A control point class which is a connection between controllable transform methods and a user actions.

Parameters:
Name Type Argument Description
chart Highcharts.Chart

A chart instance.

target Highcharts.AnnotationControllable

A controllable instance which is a target for a control point.

options Highcharts.AnnotationControlPointOptionsObject

An options object.

index number <optional>

Point index.

Requires:
  • module:modules/annotations

Requires

  • module:modules/annotations

Methods

setVisibility(visible)

Set the visibility of the control point.

Parameters:
Name Type Description
visible boolean

Visibility of the control point.

update(userOptions)

Update the control point.

Parameters:
Name Type Description
userOptions Partial.<Highcharts.AnnotationControlPointOptionsObject>

New options for the control point.