I get the following error while using ImageLineChart. It works fine
while using LineChart instead of ImageLineChart.
Library version 1.1
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: 2150
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.ImageChart.createJso(ImageChart.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.ImageChart.<init>(ImageChart.java:
169)
at com.sensorms.client.ChartWidget
$ChartDataAcceptorImpl.accept(ChartWidget.java:38)
at com.sensorms.client.SensorChartWidget
$SensorChartProvider.pushChartDetails(SensorChartWidget.java:152)
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)
Please provide Suggestions.
Thanks,
Shyam.