rabbit - 2011-09-06

Hi,

According to http://www.moxiegroup.com/moxieapps/gwt-highcharts/apidocs/index.html
I'm setting the formatter like this :

 chart.setSeriesPlotOptions(
               new SeriesPlotOptions()
                 .setDataLabels(
                   new DataLabels()
                     .setEnabled(true)
                     .setFormatter(new DataLabelsFormatter() {
                        public String format(DataLabelsData dataLabelsData) {
                            return dataLabelsData.getYAsLong() + " degrees";
                        }
                     })

                    )
             );

but it throws :

10:30:05.843 [ERROR] [charts] Unable to load module entry point class com.charts.client.Charts (see associated exception for details)
com.google.gwt.core.client.JavaScriptException: (ReferenceError): type is not defined
at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:237)

Without the setFormatter call, datalabels are working.

Any clue ? thanks