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 view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/AekiJe-zLJoJ. 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.
