'c.m is not a function' after august 2013 update of the API

88 views
Skip to first unread message

Danny Oosterveer

unread,
Oct 8, 2013, 2:18:46 PM10/8/13
to google-visua...@googlegroups.com
Hi there,

Since the update of the API in august 2013 some of my graphs don't show anymore and give the following error:

One or more participants failed to draw()×
c.m is not a function

Examples:

I've also put 1 on JSFiddle, there's no output but the code seems fine:
http://jsfiddle.net/myZZ5/

Any thought on what goes wrong? 

Sergey Grabkovsky

unread,
Oct 8, 2013, 2:23:33 PM10/8/13
to google-visua...@googlegroups.com
Here is an updated version of your fiddle that works. If you could reproduce the problem there, that would be ideal. http://jsfiddle.net/myZZ5/1/

- Sergey


--
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 http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/groups/opt_out.

Danny Oosterveer

unread,
Oct 8, 2013, 6:53:40 PM10/8/13
to google-visua...@googlegroups.com
Hi Sergey,

Thanks for your reply, I've managed to fix this. I dunno why, but it look like it occured because the site loaded controls v1.1 and corechart v1. Apparently that combination causes some graphs to crash. 

Groeten, 

Danny Oosterveer

Phone: 06-36174838

Email: con...@dannyoosterveer.nl
Twitter: @DannyOosterveer
Website: www.datasexual.nl



2013/10/8 Sergey Grabkovsky <gra...@google.com>

--
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/5vIG0N8-I2A/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-visualizati...@googlegroups.com.

asgallant

unread,
Oct 9, 2013, 12:07:49 AM10/9/13
to google-visua...@googlegroups.com
You should only be making one load call.  If you need to load both the "controls" and "corechart" packages, you do so like this:

google.load('visualization', '1', {packages:['corechart', 'controls'], callback: myCallbackFunction});
2013/10/8 Sergey Grabkovsky <gra...@google.com>

- Sergey


To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsub...@googlegroups.com.

To post to this group, send email to google-visua...@googlegroups.com.
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 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/5vIG0N8-I2A/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-visualization-api+unsub...@googlegroups.com.

Danny Oosterveer

unread,
Oct 10, 2013, 6:10:44 AM10/10/13
to google-visua...@googlegroups.com
Hi asgallant,

Thanks, I've got it working now!

Op woensdag 9 oktober 2013 06:07:49 UTC+2 schreef asgallant:
Reply all
Reply to author
Forward
0 new messages