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.

参数:
名字 类型 特质 详情
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 <可选>

Point index.

依赖:
  • module:modules/annotations

依赖

  • module:modules/annotations

方法

setVisibility(visible)

Set the visibility of the control point.

参数:
名字 类型 详情
visible boolean

Visibility of the control point.

返回值:

update(userOptions)

Update the control point.

参数:
名字 类型 详情
userOptions Partial.<Highcharts.AnnotationControlPointOptionsObject>

New options for the control point.

返回值: