One or more participants failed to draw(). Help please.

927 views
Skip to first unread message

Joshua Updyke

unread,
Mar 17, 2016, 5:47:54 PM3/17/16
to Google Visualization API
Hello all,

I am trying to get the dashboard features working on a line chart. But keep getting the following errors.

One or more participants failed to draw()×
You called the draw() method with the wrong type of data rather than a DataTable or DataView×

But I dont understand why. My data is in the form of a var data = new google.visualization.DataTable(); I must be missing something simple. You can look at my code here:
https://jsfiddle.net/xjop1dcy/


Thanks in advance,
Josh

Sergey Grabkovsky

unread,
Mar 18, 2016, 9:36:47 AM3/18/16
to Google Visualization API
Hi Joshua,

The new loader (the one via gstatic) does not yet support dynamic loading (specifying a class in a ChartWrapper that isn't actually explicitly loaded via google.charts.load). You need to explicitly specify all packages you use in your google.charts.load call. See this jsfiddle: https://jsfiddle.net/5jj9t64o/

--
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/3e90b5d5-c324-44ad-962b-2001b7c0f6f8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--

unnamed.gif

Sergey Grabkovsky

Software Engineer

Google, Inc

gra...@google.com


Reply all
Reply to author
Forward
0 new messages