The function call is included in the response to generate a query object as we would like to use the Pivot function to pivot the data. We tried using just the data to create the query but it did not work.
Thoughts? On Dec 27, 11:34 am, asgallant <[email protected]> wrote: > I'm not sure what is going on in the background, but you are passing a > non-URL to a function that takes a URL as a parameter. The query would > naturally fail when you call the send method. I assume that you intend to > draw a chart with the json embedded in the response string; which would > require stripping out the function call from the string and eval'ing the > parameter into an object. You can then pass the object to the DataTable > constructor. > > If you have control over the server-side processing, it would probably be > easier to just avoid including the function call in the response in the > first place. Then, you'd just have to change the dataType parameter of the > AJAX call to "json" and pass the response directly to the DataTable > constructor. -- 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.
