The mouseover event fires when a user mouses over a region, but you can't 
trigger the tooltip with that.  Setting the selection should work if you 
set the GeoChart's tooltip.trigger option to "selection".

On Thursday, May 29, 2014 6:44:24 AM UTC-4, Alvaro Fernández Seco wrote:
>
> Hello, 
>
> i'm using a geochart to enhance visualization of data contained in a 
> table. This table has a row for each geochart's region which has available 
> data.
>
> Normal behaviour of geochart, when user's mouse hovers over any region is 
> to focus that region and show a tool tip, right?
>
> I want to replicate this behaviour not only in these situations, but also 
> when users click on each table row.
>
> I've tried with:
>
>     geoChart.setSelection([{row: rowID, column: comunID}]);
>
> or even with:
>
>     google.visualization.events.trigger(geoChart, 'onmouseover', 
> {regionID'});
>
> but none of this is working. Triggering the 'onmouseover' event is 
> working, as I am able to catch it up later with:
>    google.visualization.events.addListener(geoChart, 'onmouseover', 
> onMouseOverGeoChart);
> but the geochart does nothing (no focus on that region, no tooltip 
> neither).
>
> which is the event fired when an user moves his mouse over a geochart 
> region? how can we fire that event at our will?
>
> Any idea? Any tips will be highly appreciated. Regards.
>
>

-- 
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.

Reply via email to