setAnnotationList() Method

Description

Sets new annotation list to the chart, replacing all that are on the charts at the moment. Can be called only after onChartDraw event is fired.

This method can be highly useful to add annotations added by user in previous sessions. To get the list of added annotations use getAnnotationListAsJSON() and getAnnotationListAsXML() methods.

Parameters

Returns

Boolean.

If the list is successfully added - "true", if failed - "false".

Samples

Online HTML/JavaScript Sample

See also

getAnnotationListAsJSON(), getAnnotationListAsXML()

to top