Closed GoogleCodeExporter closed 8 years ago
Both classes (JsDate and JsArrayMixed) were only introduced in GWT 2.1.0
So you really need to upgrade in order to work.
Furthermore, I can only guarantee compatibility with 2.4.0 or higher.
Any particular reason for not upgrading?
Original comment by rglafo...@gmail.com
on 3 Jan 2013 at 3:50
Yes i dont update because if I update the project, this doesnt compile and
stops working.
Any version of gwt-charts that compile in 2.0.4?
Original comment by FranS...@gmail.com
on 10 Jan 2013 at 9:32
Sorry, but there's no version working with 2.0.4
I can't maintain compatibility since it's almost 3 years old.
You can use the official, that maybe works:
http://code.google.com/p/gwt-google-apis/wiki/VisualizationGettingStarted
Another alternative is to include those missing classes in your source:
com.google.gwt.core.client.JsArrayMixed
com.google.gwt.core.client.JsDate
Original comment by rglafo...@gmail.com
on 10 Jan 2013 at 11:28
I include
com.google.gwt.core.client.JsArrayMixed
com.google.gwt.core.client.JsDate
and the project compile but when i run, java throws the next exception:
com.google.gwt.core.client.JavaScriptException: (TypeError):
$wnd.google.visualization is undefined
fileName: http://127.0.0.1:8888
lineNumber: 2
The official version "Visualization" dont works :(
Original comment by FranS...@gmail.com
on 16 Jan 2013 at 10:45
You're not loading the api.
Please refer to the docs:
http://code.google.com/p/gwt-charts/wiki/GettingStarted
You should call the chart loader once, preferably onModuleLoad.
Original comment by rglafo...@gmail.com
on 5 Feb 2013 at 4:12
Original issue reported on code.google.com by
FranS...@gmail.com
on 3 Jan 2013 at 1:48