So there are two cases here: 1) the data source url is wrong and no response returns. In this case a timeout response error will return after 30 seconds. You can check that this is the returned response and act accordingly.
2) the data source url returns a response that is no an appropriate json response described by the protocol http://code.google.com/apis/visualization/documentation/dev/implementing_data_source.html#responseformat In this case there is no way to predict the outcome of the response. does this answer your question? ChartMan On Sat, Jun 27, 2009 at 12:59 AM, Viz-User <[email protected]> wrote: > > Does the visualization have a way to handle bad data source urls > gracefully? Like if a data source does not return the data in JSON, > is there any way for the api to detect this? > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
