I'm running into this problem too. I have a Ritz sheet at
https://docs.google.com/a/google.com/spreadsheets/d/1TqadCSRPJ2AEeS12fBBygbX53ZpghlqaCuxdAj31aWc#gid=2
and I'm using the Chart Visualization API to to display it however when I
load the page I get the error "Uncaught SyntaxError: Unexpected token <"
I'm using the Table API:
google.load('visualization', '1.0', {packages: ['table']});
I tried loading a Trix spreadsheet which worked, but I was unable to get
the API to load the correct sheet:
https://docs.google.com/a/google.com/spreadsheet/tq?key=0AobNU9T3MusKdGFqZk9SRHNvbUlJYkFnb3RuSkt4QlE&sheet=Volume
The API would always load the first sheet. Have you had any luck?
On Saturday, February 8, 2014 11:16:34 AM UTC-8, Romain Vialard wrote:
>
> Hi Mitch,
>
> The code I've added in this thread is just a copy of a code from the
> playground<https://code.google.com/apis/ajax/playground/?type=visualization#using_the_query_language>.
>
> And it's not really important.
> I just need to know if the method setQuery() should work with the new
> version of Google Sheets, because for me it doesn't.
>
> (by the way, in the new version of Sheets, the URL is no more
> https://spreadsheets.google.com... but '
> https://docs.google.com/spreadsheets/d/... instead)
>
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/groups/opt_out.