Hi, Thanks. I will eloborate my project goal. can you give me a solution for this
In my project i need to show up few countries and continents as(United States,Canada,Mexico,South America Continent,Africa Continent,Europe,Asia,Australia) Will i be able to show up all these using a datatable where both country and continents will be my values to the datatable. On region click of United States i have to show up regions like (pacific coast,rocky mountains,midwest &plains,Midsouth,Gulf States,Carolinas and the South East,New England,Midatlantic whereas when i click on South America it should show up all the countries in it. In the existing system we use the world map image and based on the cordinates we highlight the above mentioned regions. Is there a way to use these coordinates in geoMap or geoChart. Can you suggest a solution for this . On May 25, 4:45 am, ChartALot <[email protected]> wrote: > Yes, that is a bug, will be fixed soon. > You can still show the continent / subcontinent map and register for the > regionClick event (in the meanwhile). > > > > On Wed, May 25, 2011 at 12:47 AM, mags <[email protected]> wrote: > > Hi Thanks for the reply, > > > can you tell us how to add the continents and subcontinents in the > > datatable > > > i tried adding like this > > > var data = new google.visualization.DataTable(); > > data.addRows(3); > > data.addColumn('string', 'continents '); > > data.addColumn('number', 'Popularity'); > > > It seems not working. > > > On May 24, 7:44 am, ChartALot <[email protected]> wrote: > > > Hi, > > > Using the GeoChart, you can view the world map, split into continents or > > > subcontinents (by setting options['resolution'] = 'continents' (or > > > 'subcontinents')). This option is not documented yet, so the maps may > > change > > > a bit in the future. > > > > If you hook into the regionClick event, can be notified once your user > > > clicks a region, and redraw the map with different options. > > > > For example: > > > > var geochart = new google.visualization.GeoChart( > > > document.getElementById('visualization')); > > > var options = {region: 'world', resolution: 'continents', width: 556, > > > height: 347}; > > > google.visualization.events.addListener(geochart, 'regionClick', > > function( > > > eventData) { > > > // maybe you want to change the data table here... > > > options['region'] = eventData.region; > > > options['resolution'] = 'countries'; > > > geochart.draw(data, options); > > > }); > > > geochart.draw(data, options); > > > > HTH > > > > On Mon, May 23, 2011 at 9:47 PM, mags <[email protected]> > > wrote: > > > > IS there a way to show up continents with geomap or geochart. > > > > My goal here is to show the continents and on click event needs to > > > > show the specific countries in each continents. > > > > > -- > > > > 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.-Hide > > quoted text - > > > > - Show quoted text - > > > -- > > 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.- Hide quoted > >text - > > - Show quoted text - -- 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.
