Kombucha - 2011-10-16

Have you cleared your browser cache every time you tested it (also project->clean, gwt build etc can help) ?

Test project (exact same config)

gwt.xml

<?xml version="1.0" encoding="UTF-8"?>
<module rename-to='highchartsrescue'>
  <!-- Inherit the core Web Toolkit stuff.                        -->
  <inherits name='com.google.gwt.user.User'/>
  <inherits name='com.google.gwt.user.theme.clean.Clean'/>

  <!-- Other module inherits                                      -->
  <inherits name="org.moxieapps.gwt.highcharts.Highcharts" />

  <!-- Specify the app entry point class.                         -->
  <entry-point class='com.kombucha.hcrescue.client.HighchartsRescue'/>

  <!-- Specify the paths for translatable code                    -->
  <source path='client'/>
  <source path='shared'/>

</module>

Entry point :

public class HighchartsRescue implements EntryPoint {
    public void onModuleLoad() {
        Chart chart = new Chart().setType(Series.Type.SPLINE)
                .setChartTitleText("Lawn Tunnels").setMarginRight(10);

        Series series = chart.createSeries().setName("Moles per Yard")
        .setPoints(new Number[] { 163, 203, 276, 408, 547, 729, 628 });
        chart.addSeries(series);
        RootPanel.get().add(chart);
    }
}

html :

<!doctype html>
<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <link type="text/css" rel="stylesheet" href="HighchartsRescue.css">

    <title>Highcharts Rescue</title>

    <script type="text/javascript" language="javascript" src="js/jquery.min.js"></script>
    <script type="text/javascript" language="javascript" src="js/highcharts.js"></script>
    <script type="text/javascript" language="javascript" src="highchartsrescue/highchartsrescue.nocache.js"></script>
  </head>
  <body>
  </body>
</html>

Works just fine.

kthxbai