I'm getting the following exception several times when I hover over a portion of the chart:
Uncaught JavaScript exception [uncaught exception: com.google.gwt.dev.shell.HostedModeException: Something other than a double was returned from JSNI method '@org.moxieapps.gwt.highcharts.client.ToolTipData::getXAsDouble()': JS value of type string, expected double] in , line 0
Any ideas?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I believe the showcase application also uses that same version of highstock.js and highcharts-more.js, so not exactly sure what the difference is. Can you try calling 'toolTipData.getXAsString()' in the formatter instead to see if that works? Looking at that code a little closer, that's probably how that example should have been written anyways since the categories/years are setup as strings (so we'll probably change that in the showcase application.)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
We haven't gotten into all of the nuances of the charts yet. We are just setting up our internal showcase for now and ensuring all the SmartGwt, Gwt-Highcharts, themes, etc work together and we were just using the showcase examples with only style-related things removed.
Thanks for the heads up on this.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Using the highstock.js from this post:
https://sourceforge.net/p/gwt-highcharts/discussion/general/thread/b546144c/
Also using the highcharts-more.js (from highstock 1.2.5).
When trying the showcase example Stacked Area:
http://www.moxiegroup.com/moxieapps/gwt-highcharts/showcase/#featured-area
I'm getting the following exception several times when I hover over a portion of the chart:
Uncaught JavaScript exception [uncaught exception: com.google.gwt.dev.shell.HostedModeException: Something other than a double was returned from JSNI method '@org.moxieapps.gwt.highcharts.client.ToolTipData::getXAsDouble()': JS value of type string, expected double] in , line 0
Any ideas?
I believe the showcase application also uses that same version of highstock.js and highcharts-more.js, so not exactly sure what the difference is. Can you try calling 'toolTipData.getXAsString()' in the formatter instead to see if that works? Looking at that code a little closer, that's probably how that example should have been written anyways since the categories/years are setup as strings (so we'll probably change that in the showcase application.)
That worked! Thanks.
We haven't gotten into all of the nuances of the charts yet. We are just setting up our internal showcase for now and ensuring all the SmartGwt, Gwt-Highcharts, themes, etc work together and we were just using the showcase examples with only style-related things removed.
Thanks for the heads up on this.