Matt Nuttall
unread,Jan 26, 2012, 11:58:53 PM1/26/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
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
Hi Geochart folks;
When I display a country like Canada, let's say I have "temperature" values (second column) for only two of the provinces of Canada. This works fine when I set a data value. I can float over, say, Alberta and Ontario and see:
Alberta
Temperature: 5
Ontario
Temperature: 8
But what about all the other provinces that I have no data for? Let's say that British Columbia has no data at all for it. By this, I mean there has never been a temperature sample taken.
I've tried this:
setFormattedValue(x,1,null)
setValue(x,1,0)
This gives me a tooltip that looks like this:
British Columbia
Temperature:
This is okay, but the setValue(x,1,0) is problem: the legend should show range of 5 to 8 for the two provinces with data. This hidden 0 shows up in the legend, which is misleading.
Has anybody found a way yet to have the tooltip display a region name even when there is no data to display for that region.
Thanks folks -- Matt