Thank you for you replay,im getting bermuda in region mode, but here im not 
able to find the states Hamilton, Devonshire on geo chart, i wrote the code 
as below,

 var data = google.visualization.arrayToDataTable([
    ['State', 'Popularity'],
    ['Hamilton', 200],
    ['Devonshire',1000]
     ]);

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

please help in this.

On Wednesday, August 8, 2012 6:28:09 PM UTC+5:30, Kiran wrote:
>
> 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/-/DAr3aSQamYoJ.
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