i have a requirement where i need to save annotation after user is done adding to the chart.. i used event annotations.add.. but this is firing as soon as user clicks mouse first time..
so here is how i think annotations are drawn.. first click annotations are starting.. (this is when 'add' event fires) second clicks after user is done dragging to desire length and in advanced annotations (like parallel channel) third click to adjust the height.. during all these..i know 'afterUpdate' events is being fired..
but is there a way to know after second or third click when user is completely done drawing..
i tried using 'add' event to save annotations.. but i dont think i have enough information to store at this point.. and i need to save annotation information in database for later restore.. so i can not use 'afterUpdate'... since it is being fired too many time..
Is there another way ?
Thanks