Startup animations don't work for Google Sheets data source

44 views
Skip to first unread message

Greg Sommerville

unread,
Jul 23, 2016, 1:49:53 PM7/23/16
to Google Visualization API
I've run a number of tests, and it looks like startup animations don't work when the data is loaded from Google Sheets.  I've tried this with several different chart types, and here are the symptoms:

With data retrieved via google.visualization.Query(), if you add an animation object with 'startup: true' and 'duration: 1000', you get the following error message: Invalid column index 4. Should be an integer in the range [0-2].×    If I remove the 'startup: true' from the options, the chart will display properly.  With local data, the startup animation works properly.

I've tried this with 'current', '45', and 'upcoming' versions, and none of them work.

Does anyone know anything about this?

Daniel LaLiberte

unread,
Jul 23, 2016, 4:03:27 PM7/23/16
to Google Visualization API
Thanks. I'll check into it.  We fixed another problem involving startup animation, but this might be different.

--
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/22d69a5b-2f3c-436b-9419-7c85eee6c252%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Greg Sommerville

unread,
Jul 25, 2016, 6:59:43 PM7/25/16
to Google Visualization API
Actually, I've dug into it more, and I don't think it's related to the data source.  I believe if you have a column in your datatable with a type of tooltip, it fails.  I ran another test, pulling from Google Sheets, and without the tooltip - worked as it should.

Daniel LaLiberte

unread,
Jul 26, 2016, 8:52:09 PM7/26/16
to Google Visualization API
Sounds very plausible that it is related to tooltips, and probably any other role as well.  Should be easy to fix now, with that clue.  Thanks very much!

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

For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages