Apex Chat custom icon click event

I have added custom icon on Apex chart, I would like to open popup on click of the custom icon. Please help me on how I can perspective script or function to call popup.

I have added custom icon using below.