charting-library-examples icon indicating copy to clipboard operation
charting-library-examples copied to clipboard

Feature request: Close Indicator popup on programaticaly.

Open tuturis opened this issue 9 months ago • 2 comments

Hello,

First of all, great product. Is there an API call that I could utilise to close the open pop-up? I have looked into the "insertIndicator" action using the executeActionById method, but haven't found anything that would close the indicator popup "programmatically". Maybe there are other ways I'm not aware of? Are there workarounds to "unmount" the pop-up component on the client?

tuturis avatar May 13 '25 08:05 tuturis

You could use closePopupsAndDialogs as in

widget.closePopupsAndDialogs();

SimonMorda avatar May 13 '25 09:05 SimonMorda

You could use closePopupsAndDialogs as in

widget.closePopupsAndDialogs();

Thank you for a fast response. The widget.closePopupsAndDialogs() might just do the job. By the way, is there any documentation on how one would go about getting unique identifiers for all open popups, or open/close a popup given some unique identifier?

tuturis avatar May 13 '25 10:05 tuturis