Hi Everyone,

I'm new to Google Charts API and trying to play with it in code playground. 
Using default piece of code that shows how to load data from spreadsheets 
I've made one small modification to visualize different columns

https://code.google.com/apis/ajax/playground/#using_the_query_language

My only change to example piece of code was 

@@ -5,7 +5,7 @@
       
'http://spreadsheets.google.com/tq?key=pCQbetd-CptGXxxQIG7VFIQ&pub=1');
 
   // Apply query language.
-  query.setQuery('SELECT A,D WHERE D > 100 ORDER BY D');
+  query.setQuery('SELECT C,D');
 
   // Send the query with a callback function.
   query.send(handleQueryResponse);

and instead of showing C as x-axis and D as series data(y-axis) both 
columns are shown as series. Can anybody explain me how to adjust the code 
and make it use C column as x-axis?

Thanks for help in advance!

 



-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to