How can I programatically detect when the Visualization API doesn't load
19 views
Skip to first unread message
Keith
unread,
May 4, 2012, 1:45:28 PM5/4/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Chart API
If a user is not connected to the internet, I want to display the data
in a tabular format instead of via a Google Chart. Currently, I am
using VisualizationUtils.loadVisualizationApi(Runnable, String...) to
load the Google Chart API and run the callback code. How can I
programatically detect when the API doesn't load so that I can present
the data in a different format? I haven't found a good solution for
this yet but have been searching for a while now. Thanks in advance
for any pointers.