Just a note for anyone else coming to this thread. Using var query = new 
google.visualization.Query(
      
'//docs.google.com/spreadsheets/d/1cnle5u7v-TGFInsFj_pooFWvwbti0NCL1anegCrltXU/gviz/tq'
);

You can get the google.visualization.Query.setResponse data but the 
query.setQuery method still doesn't work. (throws 


   1. Error: Problem parsing d="" 
   
format+en_GB,default+en_GB,ui+en_GB,browserchart+en_GB,linechart+en_GB.I.js:1315
      1. R.na
      
format+en_GB,default+en_GB,ui+en_GB,browserchart+en_GB,linechart+en_GB.I.js:1315
      2. R.fya
      
format+en_GB,default+en_GB,ui+en_GB,browserchart+en_GB,linechart+en_GB.I.js:1359
      3. R.$o
      
format+en_GB,default+en_GB,ui+en_GB,browserchart+en_GB,linechart+en_GB.I.js:1350
      4. R.PAa
      
format+en_GB,default+en_GB,ui+en_GB,browserchart+en_GB,linechart+en_GB.I.js:1382
      5. R.$o
      
format+en_GB,default+en_GB,ui+en_GB,browserchart+en_GB,linechart+en_GB.I.js:1381
      6. R.Ze
      
format+en_GB,default+en_GB,ui+en_GB,browserchart+en_GB,linechart+en_GB.I.js:1401
      7. R.setData
      
format+en_GB,default+en_GB,ui+en_GB,browserchart+en_GB,linechart+en_GB.I.js:1401
      8. (anonymous function)
      
format+en_GB,default+en_GB,ui+en_GB,browserchart+en_GB,linechart+en_GB.I.js:1298
      9. handleQueryResponse
      retrieve_cache?unique_id=ed05b3521f28f8412b4fe288b79bf74b269262ea:41
      10. R.jE
      
format+en_GB,default+en_GB,ui+en_GB,browserchart+en_GB,linechart+en_GB.I.js:272
      11. gv
      
format+en_GB,default+en_GB,ui+en_GB,browserchart+en_GB,linechart+en_GB.I.js:264
      12. (anonymous function)
      
tq?tq=SELECT%20A%2CD%20WHERE%20D%20%3E%20100%20ORDER%20BY%20D&tqx=reqId%3A0:1
      2. 




On Tuesday, 28 January 2014 16:24:53 UTC, Romain Vialard wrote:
>
> I thought it was working but the method setQuery() doesn't seem to work 
> with the new version of Sheets.
>
> As an example, you can try this 
> Sheet<https://docs.google.com/spreadsheets/d/1uzuafFtIi1f9Z3J0_KTzo7LDRubfe9WPzfE7FrX7oSs/edit#gid=0>with
>  the code available here:
>
> https://code.google.com/apis/ajax/playground/?type=visualization#using_the_query_language
>
> The query query.setQuery('SELECT A,D WHERE D > 100 ORDER BY D'); has no 
> effect.
>
> Is there a plan to make it work in the near future, or a workaround ? (I 
> tried v1.1 of the viz API but it didn't seem to work either)
>

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

Reply via email to