Google Visualization API in Java

137 views
Skip to first unread message

raper...@gmail.com

unread,
Apr 10, 2013, 9:02:00 AM4/10/13
to google-visua...@googlegroups.com
Hey,

I would like to know how would I go about on using the Google Visualization API, more specifically google.visualziation.Query and google.visualization.QueryResponse, in Java.
I do want to generate pages, or a web application, but simply use the functions, such as .send and .setQuery, in java.

Searching, I found both gwt-google-api and google-visualization-java, and have no clue what the differences are, and which is made for what I am looking for, if either is what I want.



PS: Is there a way to use the google.visualization.Query functions on a DataTable and not a dataSourceUrl (url page)?



Thanks in advanced!

asgallant

unread,
Apr 10, 2013, 11:31:07 AM4/10/13
to google-visua...@googlegroups.com
No, you can't use a Query on a DataTable, but you can perform all of the same operations available with a Query through other means (the #getFilteredRows to filter data, #getSortedRows/#sort to sort the data, google.visualization.data.join function to join tables, google.visualization.data.group function to group a table, DataViews to select and reorder columns or rows and to create calculated columns).

Rui Pereira

unread,
Apr 10, 2013, 1:01:18 PM4/10/13
to google-visua...@googlegroups.com
Thanks!
And how about actually using the functions in Java, how would I go about on doing so? gwt-google-api? google-visualization-java? Something else?


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

asgallant

unread,
Apr 10, 2013, 2:14:40 PM4/10/13
to google-visua...@googlegroups.com
I've never used the java tools, so I can only go by what I've read, but it seems like the GWT package includes some of the visualizations, and the visualization package contains the ones that aren't in GWT.


On Wednesday, April 10, 2013 1:01:18 PM UTC-4, Rui Pereira wrote:
Thanks!
And how about actually using the functions in Java, how would I go about on doing so? gwt-google-api? google-visualization-java? Something else?
On Wed, Apr 10, 2013 at 4:31 PM, asgallant <drew_g...@abtassoc.com> wrote:
No, you can't use a Query on a DataTable, but you can perform all of the same operations available with a Query through other means (the #getFilteredRows to filter data, #getSortedRows/#sort to sort the data, google.visualization.data.join function to join tables, google.visualization.data.group function to group a table, DataViews to select and reorder columns or rows and to create calculated columns).


On Wednesday, April 10, 2013 9:02:00 AM UTC-4, raper...@gmail.com wrote:
Hey,

I would like to know how would I go about on using the Google Visualization API, more specifically google.visualziation.Query and google.visualization.QueryResponse, in Java.
I do want to generate pages, or a web application, but simply use the functions, such as .send and .setQuery, in java.

Searching, I found both gwt-google-api and google-visualization-java, and have no clue what the differences are, and which is made for what I am looking for, if either is what I want.



PS: Is there a way to use the google.visualization.Query functions on a DataTable and not a dataSourceUrl (url page)?



Thanks in advanced!

--
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-visualization-api+unsub...@googlegroups.com.

Rui Pereira

unread,
Apr 10, 2013, 2:19:01 PM4/10/13
to google-visua...@googlegroups.com
Ok thanks.

If anyone knows what is fully needed to use the google.visualization.Query functions, do tell :)


To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages