[Dashboard Documentation] - Bad first example

28 views
Skip to first unread message

Santiago Acosta

unread,
Apr 18, 2016, 6:20:54 AM4/18/16
to Google Visualization API
This is simply to inform that the first full example on the dashboard introduction page does not work

Controls and Dashboards

Trying to copy/paste to see what it produces gives the following errors:

One or more participants failed to draw()

(the control is drawn in between)

google.load is not a function

Santiago Acosta

unread,
Apr 18, 2016, 10:11:44 AM4/18/16
to Google Visualization API
The issue is quite simple and I could have found it sooner had I performed a simple diff

the following line that starts loading the libraries is missing the corechart library

google.charts.load('current', {'packages':['controls']});

google.charts.load('current', {'packages':['corechart','controls']});

Daniel LaLiberte

unread,
Apr 18, 2016, 11:06:37 AM4/18/16
to Google Visualization API
Thanks Santiago,

I have to update the docs to correct this problem.

--
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-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/cc893f17-6902-4c9c-8ce8-c003618bebbd%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Reply all
Reply to author
Forward
0 new messages