No it doesn't work. The HTML field of a Google Sites page has more restrictions than the HTML Service in Apps Script. If you want to use the viz API in Sites, you must build a Google Gadget (like those you see when you click on the menu Insert > "More gadgets" in Sites) On Feb 23, 2014 9:39 AM, "RR RRR" <[email protected]> wrote:
> What a pitty. Ok. > > I tried to insert the code from the Google Code Playground into the html > field of a Google sites Webpage. . Does it works? It seems not. > > This was the answer from there: > > *HTML-Inhalt wird geändert.* > > *WARNUNG: Ihr HTML-Code enthält unzulässige Tags. Diese wurden aus Ihren > Änderungen entfernt.* > > Regards RR RRR. > > > Am Samstag, 22. Februar 2014 21:13:42 UTC+1 schrieb Romain Vialard: >> >> The Visualization API can't be used (yet) in Google Apps Script for now >> on (due to caja sanitization in the HTML Service). >> >> You can use the Charts Service in Apps Script but it let us use only a >> small subset of the viz API. >> > -- > You received this message because you are subscribed to a topic in the > Google Groups "Google Visualization API" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/google-visualization-api/4ClsMh09y1Q/unsubscribe > . > To unsubscribe from this group and all its topics, 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/groups/opt_out. > -- 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/groups/opt_out.
