Dear Forum!
Interactive charting is not working!
GWT 2.5.x
smartgwt pro edition 4 -nighty build (smartgwtee-4.0d) from 26.2.2013
operation system: Windows 7
Browser: ALL
problem: click on chart => event.getRecord() is null
problem2: public String hoverHTML(Float value, Record record) { RECORD IS NULL
if you run the "interactive chart" showcase with the smartgwt 4d edition from 26.2.2013, its not working, the method to get data at a click on the chart is not working, the record is null.
Because of the fact, that I can refere to the existing 3.1 showcaswe "interactive chart" I do not upload a fully source here.
I really would like to ask the smart gwt team to reply, because this is a serious problem.
I try to implement a click point handler in a line chart. I is a bug, because there is no way I can influence this behaviour
what ever I do, the event.getRecord() delivery a null record.
Did anybody have the same problem?
It happens on all browsers (testet with IE and Fireforx)
Click of chart point => event.getRecord() is NULL
---------------------------------------------------
- it happens also on charts, which are not zoomable
- it happens regardless if I use multipe series
// mouse over
chart.setPointHoverCustomizer(new ChartPointHoverCustomizer() {
public String hoverHTML(Float value, Record record) {
=>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> RECORD IS ALWAYS NULL
....
}
});
// Setting chart point click handler
chart.setPointClickHandler(new ChartPointClickHandler() {
public void onPointClick(ChartPointClickEvent event) {
// Saving reference to record we are editing, for ease of updating
Record rec=event.getRecord();
=>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> RECORD rec IS ALWAYS NULL
}
});
the exception is:
10:32:26.803 [ERROR] [fleetmanagement] uncaught
java.lang.NullPointerException: null
at at.swman.fms.client.charts.SpeedChartView$2.onPointClick(SpeedChartView.java:77)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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:172)
at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:338)
at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:219)
at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:571)
at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:279)
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:242)
at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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:172)
at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:293)
at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:547)
at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:364)
at java.lang.Thread.run(Unknown Source)
br
Markus
Interactive charting is not working!
GWT 2.5.x
smartgwt pro edition 4 -nighty build (smartgwtee-4.0d) from 26.2.2013
operation system: Windows 7
Browser: ALL
problem: click on chart => event.getRecord() is null
problem2: public String hoverHTML(Float value, Record record) { RECORD IS NULL
if you run the "interactive chart" showcase with the smartgwt 4d edition from 26.2.2013, its not working, the method to get data at a click on the chart is not working, the record is null.
Because of the fact, that I can refere to the existing 3.1 showcaswe "interactive chart" I do not upload a fully source here.
I really would like to ask the smart gwt team to reply, because this is a serious problem.
I try to implement a click point handler in a line chart. I is a bug, because there is no way I can influence this behaviour
what ever I do, the event.getRecord() delivery a null record.
Did anybody have the same problem?
It happens on all browsers (testet with IE and Fireforx)
Click of chart point => event.getRecord() is NULL
---------------------------------------------------
- it happens also on charts, which are not zoomable
- it happens regardless if I use multipe series
// mouse over
chart.setPointHoverCustomizer(new ChartPointHoverCustomizer() {
public String hoverHTML(Float value, Record record) {
=>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> RECORD IS ALWAYS NULL
....
}
});
// Setting chart point click handler
chart.setPointClickHandler(new ChartPointClickHandler() {
public void onPointClick(ChartPointClickEvent event) {
// Saving reference to record we are editing, for ease of updating
Record rec=event.getRecord();
=>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> RECORD rec IS ALWAYS NULL
}
});
the exception is:
10:32:26.803 [ERROR] [fleetmanagement] uncaught
java.lang.NullPointerException: null
at at.swman.fms.client.charts.SpeedChartView$2.onPointClick(SpeedChartView.java:77)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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:172)
at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:338)
at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:219)
at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:571)
at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:279)
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:242)
at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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:172)
at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:293)
at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:547)
at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:364)
at java.lang.Thread.run(Unknown Source)
br
Markus
Comment