i'm trying to render a heat map of the U.S. and i am having no luck
rendering data for the following entities:
Guam
U.S. Virgin Islands
Puerto Rico
any help would be appreciated.
code to render is pretty much boiler plate. i can render the U.S. 50 state
map fully colorized fine. i even added the data for the above three
regions and they do not render anywhere. i then tried to render them
separately as stand alone maps (i had to do this for District of Columbia,
which does work fine).
TIA
== stanton
here follows an example of the code that does not render (renders a "map
not available" widget in the page)
function drawRegionsGuamMap()
{
var data = google.visualization.arrayToDataTable([
['State', 'Popularity'],
[ 'US-GU', 5 ]
]);
var options = {
resolution: 'provinces',
displayMode: 'region',
region: 'US-GU',
legend: 'none',
colorAxis: { colors: ['white',
'red',
'purple',
'orange',
'yellow',
'cyan',
'blue',
'green'
] }
};
var chart = new google.visualization.GeoChart(document.
getElementById('regions_guam_div'));
chart.draw(data, options);
}
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.