new Annotation(chart, userOptions)
An annotation class which serves as a container for items like labels or shapes. Created items are positioned on the chart either by linking them to existing points or created mock points
Parameters:
Name | Type | Description |
---|---|---|
chart |
Highcharts.Chart | a chart instance |
userOptions |
Highcharts.AnnotationsOptions | the options object |