Hi,
Can Region GeoChart be displayed for different states of different
countries and can custom text be displayed on the Region GeoChart? I am
using the Google Region GeoChart to implement chart similar to Excel Map
Chart.
1. The requirement is to display states of more than one country on the
Region GeoChart. Tried to use region property set to world but this does
not seem to work.
function drawRegionsMap() {
var objChart = [
['State', 'Popularity'],
['Maharashtra', 200],
['Goa', 300],
['Kerala', 400],
['Alabama', 500],
['Colorado', 600],
['Idaho', 700]
];
var data = google.visualization.arrayToDataTable(objChart);
var options = {
region: 'world',
displayMode: 'regions',
resolution: 'provinces',
colorAxis: { colors: ['#e7711c', '#4374e0'] }
};
var chart = new
google.visualization.GeoChart(document.getElementById('dvMapChartContainer'));
chart.draw(data, options);
}
2. Is it possible to display text, like shown below, on the Region
GeoChart? If yes, then is there a way this can be done?
[image: Region GeoChart.png]
Thank you.
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/google-visualization-api/82d8863e-d4a6-42a7-9405-1731dec1035bn%40googlegroups.com.