Hi Folks I am seeing the below error while using ImageLineChart of gwt-google- api 1.1.0 in GWT. It works fine for LineChart but not for ImageLineChart. Any help/suggestions is appreciated. Provide hints on what could cause this issue in GWT.
This link contains the code for ImageLineChart. http://code.google.com/p/gwt-google-apis/source/browse/trunk/visualization/visualization/src/com/google/gwt/visualization/client/visualizations/ImageLineChart.java?r=1613 com.google.gwt.core.client.JavaScriptException: (TypeError): undefined is not a function stack: TypeError: undefined is not a function at CALL_NON_FUNCTION_AS_CONSTRUCTOR (native) at [object Object].<anonymous> (unknown source) at __gwt_jsInvoke (http://127.0.0.1:8888/gae_sens/hosted.html? gae_sens:70:35) at eval at <anonymous> (http://127.0.0.1:8888/gae_sens/hosted.html? gae_sens:54:12) at XMLHttpRequest.<anonymous> (unknown source) at unknown source at __gwt_jsInvoke (http://127.0.0.1:8888/gae_sens/hosted.html? gae_sens:70:35) at eval at <anonymous> (http://127.0.0.1:8888/gae_sens/hosted.html? gae_sens:54:12) at XMLHttpRequest.onreadystatechange (unknown source) type: called_non_callable arguments: undefined __gwt_ObjectId: 4709 at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java: 195) at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java: 120) at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java: 507) at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java: 264) at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java: 91) at com.google.gwt.visualization.client.visualizations.ImageLineChart.createJso(ImageLineChart.java) at com.google.gwt.visualization.client.visualizations.Visualization.<init>(Visualization.java: 63) at com.google.gwt.visualization.client.visualizations.Visualization.<init>(Visualization.java: 69) at com.google.gwt.visualization.client.visualizations.ImageLineChart.<init>(ImageLineChart.java: 88) at com.sensorms.client.ChartWidget $ChartDataAcceptorImpl.accept(ChartWidget.java:38) at com.sensorms.client.SensorChartWidget $SensorChartProvider.pushChartDetails(SensorChartWidget.java:118) at com.sensorms.client.SensorChartWidget$SensorChartProvider $2.onResponseReceived(SensorChartWidget.java:74) at com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java: 287) at com.google.gwt.http.client.RequestBuilder $1.onReadyStateChange(RequestBuilder.java:393) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 25) at java.lang.reflect.Method.invoke(Method.java:585) at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java: 103) at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java: 71) at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java: 157) at com.google.gwt.dev.shell.BrowserChannel.reactToMessagesWhileWaitingForReturn(BrowserChannel.java: 1713) at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java: 165) at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java: 120) at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java: 507) at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java: 264) at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java: 91) at com.google.gwt.core.client.impl.Impl.apply(Impl.java) at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:188) at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 25) at java.lang.reflect.Method.invoke(Method.java:585) at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java: 103) at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java: 71) at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java: 157) at com.google.gwt.dev.shell.BrowserChannel.reactToMessages(BrowserChannel.java: 1668) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java: 401) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java: 222) at java.lang.Thread.run(Thread.java:595) Thanks, Shyam. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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-web-toolkit?hl=en.
