"Cannot read property 'bottom' of undefined" - SquareSpace code

831 views
Skip to first unread message

Janice G

unread,
Feb 26, 2014, 3:57:35 AM2/26/14
to google-visua...@googlegroups.com
I'm not sure how to describe my issue. I am using the Google Visualization API for a pie chart, which works fine in the code playground. Once I paste the code in to Squarespace's code block & code injection fields, I get "Cannot read property 'bottom' of undefined".

I have the link to the page here: http://www.kumaescape.com/rate-of-success/

Can someone help me figure out what's wrong?

Daniel LaLiberte

unread,
Feb 26, 2014, 12:32:20 PM2/26/14
to google-visua...@googlegroups.com
Janice,

You have found a bug.  I'm not sure yet what causes it, but the labelled legend feature might not work with your data for some reason.  You might find a workaround by turning off that feature.  And if you could work up a simple case on jsfiddle that demonstrates the same bug, that would help us isolate it and find a fix sooner.  Thanks for reporting the 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 http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/groups/opt_out.



--
dlaliberte@Google.com   5CC, Cambridge MA
daniel.laliberte@GMail.com 9 Juniper Ridge Road, Acton MA

Jaderson Cruz

unread,
Oct 17, 2014, 10:00:04 AM10/17/14
to google-visua...@googlegroups.com
There isn't a solution to this problem I'm having the same problem (... I really need labeled pie )?


Em quarta-feira, 26 de fevereiro de 2014 14h32min20s UTC-3, Daniel LaLiberte escreveu:
Janice,

You have found a bug.  I'm not sure yet what causes it, but the labelled legend feature might not work with your data for some reason.  You might find a workaround by turning off that feature.  And if you could work up a simple case on jsfiddle that demonstrates the same bug, that would help us isolate it and find a fix sooner.  Thanks for reporting the problem.
On Wed, Feb 26, 2014 at 3:57 AM, Janice G <jani...@gmail.com> wrote:
I'm not sure how to describe my issue. I am using the Google Visualization API for a pie chart, which works fine in the code playground. Once I paste the code in to Squarespace's code block & code injection fields, I get "Cannot read property 'bottom' of undefined".

I have the link to the page here: http://www.kumaescape.com/rate-of-success/

Can someone help me figure out what's wrong?

--
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-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.



--
dlali...@Google.com   5CC, Cambridge MA
daniel.l...@GMail.com 9 Juniper Ridge Road, Acton MA

Sergey Grabkovsky

unread,
Oct 17, 2014, 10:21:09 AM10/17/14
to google-visua...@googlegroups.com
Hi Jaderson,

In Janice's case either her bug was already fixed, or she now has a different bug. Her current bug is coming form the fact that her chart container does not exist at the time that she creates the chart. If you are having the same problem, please post (or directly email me, gra...@google.com) a link to the website where you are experiencing the issue. If you cannot do that for whatever reason, please create a jsfiddle exemplifying the problem. We can neither help you nor fix anything if we cannot reproduce your issue.

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/d/optout.

Alexander Mitsura

unread,
Jul 5, 2016, 11:05:45 AM7/5/16
to Google Visualization API
I have same problem if I use prototype.js with Google Charts. Seems like prototype.js code provide this issue.

Alexander Mitsura

unread,
Jul 5, 2016, 11:09:02 AM7/5/16
to Google Visualization API
Also it's reproduced only with "legend: { position: 'labeled' }" option.

вторник, 5 июля 2016 г., 18:05:45 UTC+3 пользователь Alexander Mitsura написал:
Reply all
Reply to author
Forward
0 new messages