Hi,

I am drawing a chart from a url like this:

var defaultUrl = 'http://ammiller-lnx:8080/sonarChartData/data1;
var query = new google.visualization.Query(defaultUrl);
query.send(handleQueryResponse);
etc...

Now, I added a button and I want the chart data to be refreshed from a
different url.
I tried (onclick of the button)
query.setQuery('http://ammiller-lnx:8080/sonarChartData/data2');
query.send(handleQueryResponse);:

But when I get the data response (var data = response.getDataTable();)
it still has the data from the first url.
What am I doing wrong here?

Amir.

-- 
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