Thanks for the info. Much appreciated.

On Wednesday, 20 November 2013 17:08:05 UTC+2, asgallant wrote:
>
> AppsScript doesn't have built-in support for the GeoChart (the updated 
> version of GeoMap, which you should use instead of GeoMap) or GeoMap.  If I 
> understand the AppsScript environment correctly, you need to create an 
> HtmlService <https://developers.google.com/apps-script/guides/html/> and 
> inject your chart code into the HTML instead of in the AppsScript 
> environment.
>
> On Wednesday, November 20, 2013 1:45:38 AM UTC-5, Mike Eburne wrote:
>>
>> I am trying to get code for visualization geomap gleaned from Google Code 
>> Playground to work in my Google Site. I have used the code below in an Apps 
>> Script. The functions seem to work, i.e. I don't get any errors, but 
>> nothing shows and I get the following message: "The script completed but 
>> did not return anything.". 
>>
>> Here is the code I am using:
>> ------------------------------
>> // Script-as-app template.
>> function doGet() {
>>   var app = UiApp.createApplication();
>>
>>     function drawVisualization() {
>>   var data = google.visualization.arrayToDataTable([
>>     ['Country', 'Popularity'],
>>     ['Germany', 200],
>>     ['United States', 300],
>>     ['Brazil', 400],
>>     ['Canada', 500],
>>     ['France', 600],
>>     ['RU', 700]
>>   ]);
>>
>>   var geomap = new google.visualization.GeoMap(
>>       document.getElementById('visualization'));
>>   geomap.draw(data, null);
>> }
>>
>>   //app.close();
>>   //return app;
>> }
>>
>> -------------------------
>> The last two lines are commented out to see the message above...
>>
>> HELP HELP HELP
>>
>

-- 
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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to