react-google-charts icon indicating copy to clipboard operation
react-google-charts copied to clipboard

GeoChart animation via Overlay?

Open derek-groupmail opened this issue 6 years ago • 0 comments

I'm hoping to add some point plotting animation to the GeoChart supplied by react-google-charts and so I'm guessing I need access to an overlay facility for the GeoChart, something like this:- Google Chart Overlays.

Is this type of thing possible for the GeoChart type? Based on the object hierarchy it seems to be lacking an overlay facility as offered by the Google Maps API? It appears that I need access to a ChartLayoutInterface and from there I can use methods for resolving the screen coordinates of data points plotted via latitude and longitude e.g. Something like fromLatLngToDivPixel() or fromLatLngToContainerPixel(), but I can't see how to access those methods or the ChartLayoutInterface.

This Issue #58 hinted that this was possible via the chartEvents prop, but I don't see how?

Does anyone know if this is possible as described above? Are overlays the way to go or is there some other means of animating plotted data points? At a minimum, I need to know how to resolve the pixel position for a plotted map point relative to the chart container.

Thanks!

derek-groupmail avatar Oct 20 '19 16:10 derek-groupmail