Hi,
Currently, you can control only the title of the tooltip, by setting the
formatted value of the cell which holds the region name.
Here is an example:
function drawVisualization() {
var data = new google.visualization.DataTable();
data.addColumn('string', 'Region');
data.addColumn('number', 'Popularity');
data.addRow(['BR-SP', 300]);
* data.setFormattedValue(0, 0, 'São Paulo');*
var geochart = new google.visualization.GeoChart(
document.getElementById('visualization'));
geochart.draw(data, {width: 556, height: 347, region: 'BR',
resolution: 'provinces'});
}
We hope to support controlling the content of the tooltip in the future.
On Sun, Jul 24, 2011 at 3:51 PM, Tomáš Pošepný <[email protected]>wrote:
> Hi,
>
> is there any way how to set custom text in infoWindow, when a marker on a
> Map is clicked ? I know, this is possible when using google maps api, but is
> it possible also when using google visualization map ?
>
> Thank you,
> TP
>
> --
> [image: Please consider the environment before printing]
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Visualization API" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-visualization-api?hl=en.
>
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-visualization-api?hl=en.