[visualization-api] Re: Move and modify legend on Geochart?

2014-08-07 Thread Bryan Maloney
1: That's really cool. 2: When I mouseover, the legend jumps back to the lower left corner and loses all formatting improvements. -- You received this message because you are subscribed to the Google Groups Google Visualization API group. To unsubscribe from this group and stop receiving

[visualization-api] Re: Move and modify legend on Geochart?

2014-08-07 Thread Andrew Gallant
Hmmm...I would normally suggest using an onmouseover handler for that, but the GeoCharts don't fire mouse events. I think if you use a MutationObserver (or a DOMNodeInsertion event handler, if MutationObserver is not available) to watch for changes to the legend's container, and fix the

[visualization-api] Re: Move and modify legend on Geochart?

2014-08-06 Thread Andrew Gallant
The API does not provide the means to set the location of the legend, nor does it provide much in the way of number formatting. To do what you want, you are going to have to get down and dirty with the rendered chart code. Here's an example: google.visualization.events.addListener(chart,