Sachin
unread,May 7, 2012, 9:33:03 AM5/7/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Visualization API, sac...@asentechllc.com
Hi,
I am using google Visualization GeoChart API.
I have a problem in ToolTip hiding and filling the custom color in the
specified regions.
Following is the code.
var data = google.visualization.arrayToDataTable([
['Country'],
['Germany'],
['United States'],
['Brazil'],
['Canada'],
['France'],
['RU']
]);
var geochart = new google.visualization.GeoChart(
document.getElementById('visualization'));
var options = { width: 583, height: 291, colorAxis: { colors:
['#0099CB']}};
options["legend"] = false;
options["datalessRegionColor"] = '999999';
geochart.draw(data, options );
As you can see there is only one column in DataTable ie. country.
Still when the map is rendered and I hover the mouse over the
specified contries , atooltip appears specifying the Name of the
country..
I Want To hide This ToolTip. How is it possible?
And i want to specify custom color in #xxxxxx format to those
countries.. How can I do it..
Pease help as I have searched a lot regarding this but didnt get any
solution.
Regards,
Sachin