Thanks for the reply but the FAQ refers to the error "'$wnd.google.visualization' is null or not an object" and what i am getting is "$wnd.google has no properties" Are those equivalent?
On the other hand i created the project using eclipse instead of following the step by step console tutorial to create a project, maybe that had something to do? i cant make it work yet... thanks for the reply! Any other ideas will be greatly appreciated Rafael 2009/5/1 Eric Z. Ayers <[email protected]> > > Hi Rafael, > > This message indicates that you are accessing the API before it has > been loaded into your browsers. See: > > > http://code.google.com/docreader/#p=gwt-google-apis&s=gwt-google-apis&t=VisualizationFAQ > > On Apr 30, 1:35 pm, Rafael <[email protected]> wrote: > > I am trying to display a simple PieChart and i get the following > > error: > > > > [ERROR] Unable to load module entry point class > > ar.com.akyasociados.dietaclubweb.client.DietaClubWeb (see associated > > exception for details) > > com.google.gwt.core.client.JavaScriptException: (TypeError): > > $wnd.google has no properties > > fileName: jar:file:/shared/downloads/Ajax/GWT/gwt-visualization-1.0.1/ > > gwt-visualization.jar!/com/google/gwt/visualization/client/ > > DataTable.java > > lineNumber: 32 > > stack: ()@jar:file:/shared/downloads/Ajax/GWT/gwt-visualization-1.0.1/ > > gwt-visualization.jar!/com/google/gwt/visualization/client/ > > DataTable.java:32 > > gwtOnLoad([object Window],"dietaclubweb","1.6")@:0 > > gwtOnLoad(undefined,"dietaclubweb","http://localhost:8080/ > > dietaclubweb/")@http://localhost:8080/dietaclubweb/hosted.html? > > dietaclubweb:20 > > nc()@http://localhost:8080/dietaclubweb/dietaclubweb.nocache.js:2 > > ()@http://localhost:8080/dietaclubweb/dietaclubweb.nocache.js:8 > > @http://localhost:8080/dietaclubweb/hosted.html?dietaclubweb:39 > > > > at com.google.gwt.visualization.client.DataTable$.create(Native > > Method) > > at ar.com.akyasociados.dietaclubweb.client.DietaClubWeb.initPage > > (DietaClubWeb.java:108) > > at > > ar.com.akyasociados.dietaclubweb.client.DietaClubWeb.onModuleLoad > > (DietaClubWeb.java:46) > > > > I read a while ago that the Visualization-API is only compatible with > > 1.4 version of the GWT, could that be it? > > > > thanks in advance > > > > I might add this gwt-visualization-api looks pretty cool... > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
