getSelectedAnnotationId() Method
Description
Returns id of the selected annotation.
Parameters
None
Returns
String.
Note: Returns id in case of success, returns null if there is no annotations on the chart or no annotation is selected.
Samples
Calling sample - obtain selected annotation id and then remove it:
Sample:
Online HTML/JavaScript Sample
See also
selectAnnotation(), deselectAnnotation(), removeAnnotation()