Hi Scott, There is nothing obviously wrong with the line you copied, but perhaps the problem is not in that line. JavaScript syntax errors can be tricky to figure out. If you could point us at the page where you are trying this, we could take a look. Maybe put together a jsfiddle example.
On Fri, Nov 6, 2015 at 11:15 AM, Newbie <[email protected]> wrote: > Hi, > > I'm trying to create an interactive chart to run on a Google site. I'm > trying to dummy the interactive chart on this link: > https://developers.google.com/chart/interactive/docs/gallery/controls and > am using the code created to try and manipulate it and work out what I can > do, however, I keep getting the error code: "Syntax error. (line 5, file > "Code"), when running the code. Line 5 is below: > > google.load('visualization', '1', {'packages':['corechart', 'controls']}); > > Is there something really obvious that I'm doing wrong here? > > Thanks, > > Scott > > This e-mail and any attachments are confidential and solely for the use of > the intended recipient. They may contain material protected by legal > professional or other privilege. If you receive it in error, please delete > it from your system, make no copies of it, do not disclose its contents to > any third party or use it for your own or any other person's benefit. > Please advise the sender of its receipt as soon as possible. Although this > email and its attachments are believed to be free of any virus or other > defect, it is the responsibility of the recipient to ensure that they are > virus free and no responsibility is accepted by the company for any loss or > damage arising from receipt or use thereof. Any opinions expressed that do > not relate to the official business of the company are those of the author, > not the United Biscuits group of companies. > > United Biscuits (UK) Limited Registered in England number 2506007 > Registered Office: Hayes Park, Hayes End Road, Hayes, Middlesex, UB4 8EE > > -- > 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. > To view this discussion on the web visit > https://groups.google.com/d/msgid/google-visualization-api/53230219-00ed-4bf2-9110-f3b642801610%40googlegroups.com > <https://groups.google.com/d/msgid/google-visualization-api/53230219-00ed-4bf2-9110-f3b642801610%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2> - 978-394-1058 [email protected] <[email protected]> 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. To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/CAOtcSJOwq8ddfQzd4RfKuUh3vemxTgMd7kttdnSj_sBuBy4QOQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
