I believe that if you cut the object out of the string and eval it, you 
should be able to access the table.  Something like this, perhaps?

// response contains query response
// cut off everything up to the first '('
response = response.replace(/^.*?(/, '(');
// cut off everything after the last ')'
response = response.replace(/).*?$/, ')');
// eval what's left
var responseObj = eval(response);
var data = new google.visualization.DataTable(responseObj['table']);

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-visualization-api/-/yJrN7L9YTKwJ.
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