constructor(chart: FlexChartCore, options?): AnnotationLayer
Initializes a new instance of the AnnotationLayer class.
A chart to which the AnnotationLayer is attached.
A JavaScript object containing initialization data for AnnotationLayer.
getItem(name: string): AnnotationBase
Gets an annotation element by name in the AnnotationLayer.
The annotation's name.
getItems(name: string): Array
Gets the annotation elements by name in the AnnotationLayer.
The annotations' name.
Represents an annotation layer for FlexChart and FinancialChart.
The AnnotationLayer contains a collection of various annotation elements: texts, lines, images, rectangles etc. To use the AnnotationLayer, create annotations and push them to the layer's items property.