Hi Justin, I suspect that people on this list don't know enough about Google Sites to say what you need to do to add chart. You'll probably find better advice under the Google Sites help, such as this: https://support.google.com/sites/answer/1680639?hl=en or try the forums: http://productforums.google.com/forum/#!forum/sites Good luck.
On Sat, Oct 19, 2013 at 9:45 AM, Justin Baron <[email protected]>wrote: > Hi > > I want to place a Gauge on my Google Site picking up the parameters from a > Google Sheet. > > I have tried to publish the code as a web app, but this doesn't seem to > work. > > Do I need to put in the surrounding HTML or will the bare-bones code such > as the Google example work ? > > function drawVisualization() { > // Create and populate the data table. > var data = google.visualization.arrayToDataTable([ > ['Label', 'Value'], > ['Memory', 80], > ['CPU', 200], > ['Network', 68] > ]); > > // Create and draw the visualization. > new google.visualization.Gauge(document.getElementById('visualization')) > . > draw(data); > } > > Can you anyone point me in the right direction ? > > Justin > > The content of this email (and any attachment) is confidential. It may > also be legally privileged or otherwise protected from disclosure. > > This email should not be used by anyone who is not an original intended > recipient, nor may it be copied or disclosed to anyone who is not an > original intended recipient. > > If you have received this email by mistake please notify us by emailing > the sender, and then delete the email and any copies from your system. > > All views and opinions expressed in this electronic message and its > attachments are those of the sender and do not necessarily reflect the > views and opinions of SAM Learning Ltd. > > SAM Learning Ltd Registered in England No 2826785 Registered > Office Webber House, 26-28 Market Street, Altrincham, Cheshire WA14 1PF > > -- > 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. > -- Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2> - 978-394-1058 [email protected] <[email protected]> 562D 5CC, Cambridge MA [email protected] <[email protected]> 9 Juniper Ridge Road, Acton MA -- 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.
