Rob - 2011-11-27

Hi Shawn,

I had a quick try at adding support for Funnel Charts to gwt-highcharts.

See:

-> http://jsfiddle.net/highcharts/JvY4s/408/

and

-> http://jsfiddle.net/JvY4s/248/

I made a few changes to Series.java (e.g. FUNNEL("funnel")) and BaseChart.java and created a FunnelPlotOptions.java and a FunnelDataLabels.java.

However, I'm getting a "cannot read property 'marker' error" in the console. So I thought I'd see if you might be able to point me to something I might have missed?

BTW, you might want to update your pom.xml so that it includes a plugin management entry:

    ...

    <groupId>org.moxieapps</groupId>
    <artifactId>gwt.highcharts</artifactId>
    <version>1.1.2A</version>
    <packaging>jar</packaging>

    <name>Moxie Apps GWT Highcharts</name>
    <url>http://www.moxiegroup.com/</url>

    <properties>
      <target.jdk>1.6</target.jdk>
      <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
      <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

      <maven-compiler-plugin.version>2.3.2</maven-compiler-plugin.version>    
      <gwt.version>2.4.0</gwt.version>
    </properties>

    <dependencies>
        <dependency>
            <groupId>com.google.gwt</groupId>
            <artifactId>gwt-user</artifactId>
            <version>${gwt.version}</version>
        </dependency>
    </dependencies>

    <build>
      <pluginManagement>
        <plugins>

        <!-- Maven Compiler Plugin -->
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-compiler-plugin</artifactId>
        <version>${maven-compiler-plugin.version}</version>
          <configuration>
            <source>${target.jdk}</source>
            <target>${target.jdk}</target>
            <encoding>${project.build.sourceEncoding}</encoding>
          </configuration>
        </plugin>

        </plugins>
      </pluginManagement>

        <finalName>org.moxieapps.gwt.highcharts-1.1.2A</finalName>

        <!-- GWT needs the source code in the output bundle -->
        <resources>
            <resource>
                <directory>src/main/java</directory>
                <includes>
                    <include>**/*.java</include>
                    <include>**/*.gwt.xml</include>
                </includes>
            </resource>
        </resources>

    </build>

</project>

Cheers
Rob