We are using Google Region GeoChart to implement chart similar to Excel Map Chart.
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 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);
}
Is it possible to display text like shown below on the Region GeoChart? If yes, then is there a way that be done?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…