I can't for the life of me figure out why the code below doesn't work,
based on the docs. I can get the map to draw metro-level boundaries,
but can't get it to actually color any of the metros using the metro
data provided. I tried using Chrome 16 and Safari.  What am I doing
wrong?

function drawVisualization() {
  var data = new google.visualization.DataTable();
  data.addRows(2);
  data.addColumn('string', 'Metro');
  data.addColumn('number', 'Popularity');
  data.setValue(0, 0, '692');
  data.setValue(0, 1, 200);
  data.setValue(1, 0, '807');
  data.setValue(1, 1, 300);

  var geochart = new google.visualization.GeoChart(
      document.getElementById('visualization'));
  geochart.draw(data, {width: 556, height: 347, region: 'US',
resolution: 'metros'});
}

I tested this by pasting into: 
http://code.google.com/apis/ajax/playground/?type=visualization#geo_chart

Thanks,
Buddy

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.

Reply via email to