Container is not defined

4,368 views
Skip to first unread message

JoshK

unread,
Sep 15, 2010, 1:07:45 PM9/15/10
to Google Chart API
I'm using the visualization [corechart] package and have an error that
is being thrown when I try to draw the chart. I have a gist of my code
available at https://gist.github.com/1833175f079d5d65cfff.

Error: Container is not defined
redraw(jsonData=undefined)code.js (line 106)

Thanks,

-Josh

JoshK

unread,
Sep 15, 2010, 1:07:39 PM9/15/10
to Google Chart API

Joshua Kehn

unread,
Sep 15, 2010, 1:26:26 PM9/15/10
to JoshK, Google Chart API
Disregard, it looks like Container not defined means it can't find the corresponding div id on the page – because it didn't exist.

Thanks,

-Josh
____________________________________
Joshua Kehn | Josh...@gmail.com
http://joshuakehn.com

Thomas Rybka

unread,
Apr 26, 2013, 1:42:10 PM4/26/13
to google-c...@googlegroups.com
Any luck?

Load order on IE8 and IE9 definitely differs from Chrome.

I'm not sure we have enough context from this gist to properly investigate.

Can you reproduce the problem in a simple jsfiddle?

-Tom

On Thu, Apr 25, 2013 at 8:58 AM, Bob Chauvin <bobch...@gmail.com> wrote:
I am seeing this behavior too.  I think it has to do with the load order of objects.  I will defer the creation of the chart object to see if that corrects the issue.
--
You received this message because you are subscribed to the Google Groups "Google Chart API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chart-a...@googlegroups.com.
To post to this group, send email to google-c...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-chart-api?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Bob Chauvin

unread,
Apr 28, 2013, 1:10:38 PM4/28/13
to google-c...@googlegroups.com
Tom,  The chart does load in IE, but my implementation seems to cause an issue in IE 8/9 where the timeline icons don't render.  They do render in Chrome.  Below are examples:

Chrome:
Inline image 1


IE 8/9
Inline image 2


Robert Chauvin


--
You received this message because you are subscribed to a topic in the Google Groups "Google Chart API" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-chart-api/QF3uCFuzF3Y/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to google-chart-a...@googlegroups.com.
image.png
image.png

Bob Chauvin

unread,
Apr 28, 2013, 1:15:18 PM4/28/13
to google-c...@googlegroups.com
Another issue is that I am feeding many timeline items, but the chart only labeled items A-Z and then restarts a A.

Tom Rybka

unread,
Apr 29, 2013, 1:46:43 PM4/29/13
to google-c...@googlegroups.com
The A-Z issues is a known limitation of the Annotated Timeline.

As a data point: Does this render the annotations correctly for you? http://jsfiddle.net/aSRUx/34/

I ran this in IE9, and I saw the correct bubbles.

I understand if you don't (or can't) link to a chart that I can debug live, but iff you could post at least the options for your code, I can try to debug it in a fiddle, but just the screenshots is not enough to go on, given that I can't repro with a simple case.

-Tom

Bob Chauvin

unread,
Apr 29, 2013, 2:17:01 PM4/29/13
to google-chart-api
Your example does work for me too.  I think there is an issue in my implementation, though no errors are being thrown.  I have the issue even with the sample "pens/pencils data" from the dev page, so I'm not sure what else could cause the bubbles to not display.

Any plans to enhance this widget?

I am implementing this on a SharePoint 2010 page.

Thanks for your help.



--
You received this message because you are subscribed to a topic in the Google Groups "Google Chart API" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-chart-api/QF3uCFuzF3Y/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to google-chart-a...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages