Geochart: Show Country Name on Rollover with Default Value?
103 views
Skip to first unread message
Dan Poynor
unread,
Sep 4, 2012, 8:31:22 PM9/4/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original 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-visua...@googlegroups.com
Currently in my Geochart map if a country doesn't have any data assigned it's name doesn't appear when rolled over, but it would be nice to show the names of which countries don't have data too.
Is there a way to set a default value for all countries?
Something like this perhaps:
data.addRows([
[*, 400, 'Category 4: Default'],
['Australia', 1000, 'Category 1'],
['Canada', 800, 'Category 2'],
['Chile', 600, 'Category 3'],
...
asgallant
unread,
Sep 4, 2012, 11:27:37 PM9/4/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original 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-visua...@googlegroups.com
No, there is no way to set a default value for all countries. You would have to add each country individually to your DataTable.