onAnnotationRemove() Event
Description
This event is dispatched when an annotation is removed using "Delete" key on a Windows system or "Fn + Backspace" on Mac.
Arguments
- id: String
Id of removed annotation.
Note: when you get this id - there is no annotation with such id on the chart, so you can't use it in other methods at this time. - config:Object
A config of removed annotation in JSON.
Samples
Handling sample:
Sample:
Online HTML/JavaScript Sample