Have you actually got the above to work correctly? We are trying to use FusionCharts in a GWT application, and tried to write a small "sandbox" application along the lines that you've described above. In hosted mode (GWT 1.4.60), we get the following error:
[WARN] Malformed JSNI reference 'setDataURL'; expect subsequent failures
java.lang.NoSuchFieldError: setDataURL
at com.google.gwt.dev.shell.CompilingClassLoader$DispatchClassInfoOracle.getDispId(CompilingClassLoader.java:102)
at com.google.gwt.dev.shell.CompilingClassLoader.getDispId(CompilingClassLoader.java:299)
at com.google.gwt.dev.shell.ie.IDispatchProxy.getIDsOfNames(IDispatchProxy.java:121)
at com.google.gwt.dev.shell.ie.IDispatchImpl.GetIDsOfNames(IDispatchImpl.java:273)
at com.google.gwt.dev.shell.ie.IDispatchImpl.method5(IDispatchImpl.java:192)
at org.eclipse.swt.internal.ole.win32.COMObject.callback5(COMObject.java:108)
at org.eclipse.swt.internal.ole.win32.IDispatch.Invoke(IDispatch.java:64)
at org.eclipse.swt.ole.win32.OleAutomation.invoke(OleAutomation.java:493)
at org.eclipse.swt.ole.win32.OleAutomation.invoke(OleAutomation.java:417)
at com.google.gwt.dev.shell.ie.ModuleSpaceIE6.doInvokeOnWindow(ModuleSpaceIE6.java:63)
Note that it doesn't appear this has anything to do with setDataURL method itself. If we comment out the "chart.setDataURL(dataUrl);" line in FusionChartWidget, it will fail with the same error, except for 'render'.
Any idea what might be up?
Thanks
Ravi