Annotated Timeline without full page refresh...

50 views
Skip to first unread message

Vire7

unread,
Jan 21, 2013, 1:17:33 PM1/21/13
to google-visua...@googlegroups.com
Hello,

I have a Backbone app that draws an Annotated Timeline for various sets of data. The first time I view a chart, it works great but viewing any subsequent timelines result in the following error:

Uncaught Error: Missing query for request id: 0

A page refresh will display the chart properly. Here's a gist with the code in question: https://gist.github.com/4588015#file-gistfile1-js-L15-L50

Thanks in advance for any light you can shed on what I'm doing wrong.

Thanks.

-Vire7hh

asgallant

unread,
Jan 21, 2013, 3:54:24 PM1/21/13
to google-visua...@googlegroups.com
What part of the code is throwing the error?  Is it the query or when you actually call this.chart.draw?  I can see a problem with the latter case, as you are not passing any chart options in, and to perform redraws you have to set the "allowRedraw" option to true.  If you could post a link to the page, I'll take a look and see what might be going on.

Vire7

unread,
Jan 22, 2013, 12:38:05 PM1/22/13
to google-visua...@googlegroups.com
Thanks for the offer to take a look, but unfortunately the site is not publicly available. I'm tracking where exactly the error is occurring now and will report back. 
Reply all
Reply to author
Forward
0 new messages