I should add that the chart does draw once using the results from this
query.
Subsequent queries behave as though they timed out even though I can
tell that the request was successfully returned from the webservice.

On Jan 13, 2:07 pm, craigdataqa <[email protected]> wrote:
> Hello all,
>
> I'm having an issue using the latest release of the GWT wrappers for
> the visualization api.  I have successfully created a visualization,
> added it to the panel, and the queries are being successfully executed
> against the data webservice.  In spite of this, it seems that my GWT
> application believes the request is timing out.
>
> Anyone seen this problem before?  Am I missing something due to my
> limited Java knowledge?
>
> Here is the pertinent code:
>   private void updateData() {
>           Query query = Query.create("http://localhost:8585/gwt/";);
>           query.setQuery(vizData.vizDate+"@"+vizData.vizQuery);
>           query.send(new Callback(){
>           public void onResponse(QueryResponse response) {
>             if (response.isError()) {
>               Window.alert("An error occured: Please try again.");
>             }
>             DataTable data = response.getDataTable();
>             vizData.col.draw(data, createOptions(vizData.vizQuery));
>           }
>         });
>   }
>
> Thanks for any help,
> Craig
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to