Hi guys,
Could you help me discover why some countries are being displayed
incorrectly?
I have
google.setOnLoadCallback(drawRegionsMap);
function drawRegionsMap() {
var data = new google.visualization.DataTable();
data.addColumn('string', 'Country');
data.addColumn('string', 'Name');
data.addColumn('number', 'P1');
data.addRows([
['DE','Germany', 228] ,
['AR','Argentina', 53],
['US','USA', 7746]
]);
var options = {
region: 'world',
displayMode: 'markers',
backgroundColor: '#B3D1FF',
minValue: 0, colors: ['#A1FF8E', '#008042']
};
var chart = new google.visualization.GeoChart(document.getElementById(
'chart_div'));
chart.draw(data, options);
};
Both Argentina and Germany are being displayed in USA?
Thanks in advance.
--
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.