The Visualization API requires an active internet connection to retrieve the API code. You cannot use it from a closed network.
On Monday, March 11, 2013 3:04:25 PM UTC-4, [email protected] wrote: > > We have 4 windows 2008 servers. > > 2 of these 2008 servers have access to outside world. > When we deploy our gwt applications(which use google.visualization) on > these 2 machines which can be accessed from outside, everything is fine. > The charts show up on the clients as expected. > > However our customer's server and our 3rd server are both in a closed > network environment. So they cannot access http://www.google.com/jsapi. > Also in their closed network, their server is connected to clients which > are getting this error "$wnd.google.visualization "is null"" when we deploy > our app. > > How do I fix this? > > My code has > > Runnable onLoadCallback = > > *new* Runnable() { > > *public* *void* run() { > > Window.*alert*( > > "on onloadCallback"); > > set(total, result); > > } > > }; > > VisualizationUtils.*loadVisualizationApi*(onLoadCallback, ColumnChart. > > *PACKAGE*); > > > > gwt.xml also has > > <inherits name=*'com.google.gwt.visualization.Visualization'*/> > > <script src=*'https://www.google.com/jsapi?autoload={ > "modules":[{"name":"visualization","version":"1"}]}'*> > > </script> > > > Thanks > -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-visualization-api?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
