Geochart in region mode (region 150): Not all displayed countries supported

239 views
Skip to first unread message

Tobias Link

unread,
Jan 31, 2014, 8:28:30 AM1/31/14
to google-visua...@googlegroups.com
I use the Geochart API with region mode to visualize data. Sadly there are countries in the displayed map excerpt (region 150 Europe), which I cannot use to display data. In my use case these are Turkey, Malta, Cyprus and Luxembourg (though this might be too small). I'd be very pleased if this issue could be addressed with a future update.

Thanks in advance and best regards!
Tobias Link

Carlos Moreira

unread,
Jan 31, 2014, 4:14:15 PM1/31/14
to google-visua...@googlegroups.com
Hi Tobias! 
I have the same problem of you. I am waiting a long time for an update to solve this issue :) 

This happens because they follow this list of countries: 

Which doesn't include some of those countries in Europe (Cyprus, Turkey....) 
Malta and Luxemburg might just be to small to render in some dimensions.

It seems the issue entry has been 'accepted', but so far no news. 
You can see some more info here:

I guess the most simply solution would be for the API to allow other codes to be rendered by the map, even if they are not in the subset of the region selected. Same way we can place a marker in Turkey, when having the region:150 selected and markers mode. 

Would be great to get an official status update on this :) 

gajera sanjay

unread,
Jan 31, 2014, 10:28:39 PM1/31/14
to google-visua...@googlegroups.com
**********************************************************
I have used below code it works in local server, 
but when i upload it to live server it shows me the pie chart and suddenly goes to invisible.
Please help me to resolve this issue.

*********************************************************
// Load the Visualization API and the piechart package.
google.load('visualization', '1', {'packages':['corechart']});

// Set a callback to run when the Google Visualization API is loaded.
google.setOnLoadCallback(drawChart);
function drawChart() {

  // Create our data table out of JSON data loaded from server.
  var data = new google.visualization.DataTable(<?php echo $jsonTable?>);
  var options = {
       title: 'ProjectType',
      is3D: 'true',
      width: 350,
 backgroundColor: '#A3D1D1',
      height: 200,

 
    };
  // Instantiate and draw our chart, passing in some options.
  // Do not forget to check your div ID
  var chart = new google.visualization.PieChart(document.getElementById('div_pie1'));
  chart.draw(data, options);

Tobias Link

unread,
Feb 1, 2014, 5:46:22 AM2/1/14
to google-visua...@googlegroups.com
Hi Carlos,

thanks a lot for your answer! The links were really helpful. I also certainly hope that someone from google posts an official status update about the issue.

Kind regards,
Tobias Link
Reply all
Reply to author
Forward
0 new messages