Sorry, you can't use the visualization API without a network connection: http://code.google.com/apis/visualization/faq.html#localdownload
The communication you see is just an attempt to see if there are any new versions of GWT released. there are, it just puts up a notice message. This is done in the background, and the software should work fine if that resource is not available.. <http://code.google.com/apis/visualization/faq.html#localdownload> On Wed, Mar 9, 2011 at 8:48 AM, Ferdinand Ng <[email protected]> wrote: > Dear Eric, > > I think I found what is the problem, I do not have "GWT Developer Plugin" > for my IE. Since my working networking does not have direct internet > connection, and security rule within my company, I cannot get the plugin > installed at the moment. Do you know if possible that I can have to graph > displaying without this Plugin? > > I want to ask one strange behavior I discovered today. I ran the same > example in my home PC, with the GWT developer plugin installed, I saw that > internally, when I load us the sample page, it internally has some > communication with google server. I though it is all data coming from my > sample program, how come it required to communicate with google server? > > Thank you very much for your help. > > Best Regards > Ferdinand Ng > > > On Wed, Mar 9, 2011 at 8:58 AM, Eric Ayers <[email protected]> wrote: > >> I assume this isn't verbatim because Window.alert() is capitalized. >> >> Did you look at the Chrome/Safari Inspector or Firebug to see if there are >> any JavaScript exceptions happening? >> Did you try debugging this in GWT DevMode and setting a break point in you >> run() callback? >> >> On Tue, Mar 8, 2011 at 9:23 AM, Ferdinand Ng <[email protected]> wrote: >> >>> Dear All Experts, >>> >>> I am new to GWT and Visualization wrapper, I try out the example >>> SimpleViz.java shown in the GWT web. Unfortunately I can't get the >>> sample works, >>> >>> ...... >>> public class SimpleViz implements EntryPoint { >>> public void onModuleLoad() { >>> // Create a callback to be called when the visualization API >>> // has been loaded. >>> Runnable onLoadCallback = new Runnable() { >>> public void run() { >>> window.alert("3"); >>> Panel panel = RootPanel.get(); >>> >>> // Create a pie chart visualization. >>> PieChart pie = new PieChart(createTable(), createOptions()); >>> >>> pie.addSelectHandler(createSelectHandler(pie)); >>> panel.add(pie); >>> window.alert("4"); >>> } >>> }; >>> >>> // Load the visualization api, passing the onLoadCallback to be >>> called >>> // when loading is done. >>> window.alert("1"); >>> VisualizationUtils.loadVisualizationApi(onLoadCallback, >>> PieChart.PACKAGE); >>> window.alert("2"); >>> } >>> ....... >>> >>> I tried it out and it only print 1 and 2, not printing 3 and 4. It >>> seems that the Runnable object was not called when the package is >>> finished loading. Since there is no error and no return code, I can't >>> really judge by where it goes wrong, >>> >>> if anyone has any idea, please shine some light on me. Was stucked in >>> this for 2 days... >>> >>> Best Regards >>> Ferdi >>> >>> -- >>> 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. >>> >>> >> >> >> -- >> Eric Z. Ayers >> Google Web Toolkit, Atlanta, GA USA >> >> > -- Eric Z. Ayers Google Web Toolkit, Atlanta, GA USA -- 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.
