UPDATE:
it seems that react-google-charts, which is not frequently maintained, is 
the issue.

I was able to build my own react wrapper component, with minimal 
functionality for google charts, but it meets my needs so...

On Wednesday, November 15, 2023 at 2:48:45 PM UTC+2 Matthew Mc Allister 
wrote:

> 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 google-visualization-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/fd96c987-42ea-4abd-af7a-8c7cd34d3628n%40googlegroups.com.

Reply via email to