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
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
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.
Reply all
Reply to author
Forward
0 new messages