This is how I tried to do it at first:
function handleQueryResponse(response){
if(response.isError()){ alert('Error in query: ' +
response.getMessage() + ' ' + response.getDetailedMessage());}
data = response.getDataTable();
if(my_init)
{
options = {'width': 750, 'height': 400};
container = document.getElementById('map_canvas');
geochart = new google.visualization.GeoChart(container);
my_init = false;
initializeSlider();
geochart.draw(data, options);
}
else
{
geochart.draw(data, options);
}
}
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
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.