You are viewing an archived version of AnyChart.com|www.anychart.comfor JavaScript Charts|qlik.anychart.comfor Qlik Extensions

addAnnotation() Method

Description

Adds new annotation to the chart.
This function can be called only onChartDraw event has been fired, if you call addAnnotation prior to that - no annotation is added.

Parameters

Returns

Boolean.

Note: If "true" - annotation is added successfully, in the opposite case - "false" is returned.

Samples

Add annotation using JSON:


Add annotation using XML:


Sample:

Online HTML/JavaScript Sample

See also

removeAnnotation()

to top