Im quit new to this API,here im not able to find bermuda on geomap. i wrote
code as below
var data = new google.visualization.DataTable();
data.addRows(regobj.length);
data.addColumn('string', 'Country Code');
data.addColumn('number', 'No. of Participants');
data.addColumn('string', 'Country Name');
data.setValue(0, 0, 'BM');
data.setValue(0, 1, 1000);
data.setValue(0, 2, 'Bermuda');
data.setValue(1, 0, 'IS');
data.setValue(1, 1, 2);
data.setValue(1, 2, 'Iceland');
data.setValue(2, 0, 'BS');
data.setValue(2, 1, 2);
data.setValue(2, 2, 'Bahamas');
var options = {};
options['dataMode'] = 'regions';
options['width'] = 3000;
options['height'] = 1500;
options['showZoomOut'] = false;
options['colors'] = [0xabf194, 0x5dca39, 0x1f8009];
var container = document.getElementById('map_canvas');
var geomap = new google.visualization.GeoMap(container);
geomap.draw(data, options);
can any one help me please.
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-visualization-api/-/XyQy3OJWBAgJ.
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.