in a react project, I am making use of the react-google-charts library(yes, 
I know this is not maintained by google, just hear me out). It's a 
typescript port but it still fetches the relevant JS scripts from 
https://www.gstatic.com/charts/loader.js 

in order to add click events to these charts you need to wait for the 
"ready" event to fire and give it a callback in which you 
call google.visualization.events.addListener(chart,"click",()=>{});

however, the "ready" event no longer seems to be firing, and thus my click 
events are not being added

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/15c2ed8e-aa8c-420d-b0d5-2c386bbafb21n%40googlegroups.com.

Reply via email to