The Apps Script environment runs in a sandbox that blocks some javascript files from loading. Since the Timeline visualizations are not officially supported in Apps Script, the javascript file is blocked, so you can't load them even when using the HtmlService.
On Wednesday, October 29, 2014 7:53:10 PM UTC-4, Andrew Gallant wrote: > > I don't have an update for you yet, but we're looking into it. > > On Wednesday, October 29, 2014 3:00:02 PM UTC-4, [email protected] wrote: >> >> Any updates?? >> >> I did try using the chartwrapper - same results. The charts displays >> fine when I run the HTML, but I when I add a very simple Google script >> >> function doGet() { >> >> return HtmlService.createHtmlOutputFromFile('index'); >> >> } >> >> >> and try to publish as web app, it fails to load the chart. All the data >> is available as well as anything else I add to the app. Does timeline work >> under these circumstances? Other chart types work - I have tried, line >> charts, bar chart, table. >> >> >> On Monday, August 18, 2014 10:31:46 AM UTC-4, Mackey McCandlish wrote: >>> >>> I've been able to create charts in javascript and display them from my >>> googlescript app, by using an app that returns >>> HtmlService.createHtmlOutputFromFile('filename'); >>> >>> When I try to do this with a timeline chart, nothing appears. The script >>> is from google's visualization example at >>> https://google-developers.appspot.com/chart/interactive/docs/gallery/timeline >>> . >>> >>> Is this meant to be supported? >>> >>> Thanks. >>> >> -- 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.
