Hmmm....I see you hide the 'geoChartContainer' div after calling
geoChart.draw(). Charts sometimes have problems drawing in hidden
containers (which could be happening here, because drawing
is asynchronous). If you put the hide and show calls in a 'ready' event
handler for the chart, that will eliminate the one possible issue:
google.visualization.events.addListener(geo, 'ready', function() {
$('#geoChartContainer').hide();
$('#geoChartContainer').fadeIn(800, function() {});
});
geo.draw(dataTableGeo, {
'width': 1200,
'height': 750,
'region': 'world',
colorAxis: colorObject,
// colorAxis: {values: [-1, instancesLowestValue,
instancesHighestValue]},
'backgroundColor': 'none'
});
If that doesn't fix the problem, try building a simpler version of the page
that still produces the error.
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-visualization-api/-/a6py2XBME6MJ.
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.