Ravi M

Members
  • Content count

    2
  • Joined

  • Last visited

Everything posted by Ravi M

  1. Hi all I am a newbie to this forum, to FusionCharts and (alas!) to Javascript. We are trying to use FusionCharts in a GWT application and were hoping to find a simple working example that we could use as a starting point. This thread -> http://www.fusioncharts.com/forum/Topic11755-28-1.aspx seems to be on the correct lines, but we are facing issues (as posted there already) with getting things working right. Does anyone have a working example they may be able to share, especially on the magic needed in the GWT client to make a FusionCharts chart show? Regards Ravi
  2. Solution for GWT and FusionCharts

    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