Skip to content

GoogleCharts

Michael O'Cleirigh edited this page Jan 22, 2011 · 5 revisions

Overview

The Google Charts Project allows creation of charts using the Google Chart API.

Maven Artifacts

  • googlecharts-parent
  • googlecharts
  • googlecharts-examples

Documentation

Maven Stable

<dependency>
    <groupId>org.wicketstuff</groupId>
    <artifactId>googlecharts</artifactId>
    <version>1.4.14</version>
</dependency>

Maven Development

<dependency>
    <groupId>org.wicketstuff</groupId>
    <artifactId>googlecharts</artifactId>
    <version>1.4-SNAPSHOT</version>
</dependency>

<repository>
	<id>wicketstuff-core-snapshots</id>
	<url>ttps://oss.sonatype.org/content/repositories/snapshots</url>
	<snapshots>
		<enabled>true</enabled>
	</snapshots>		
</repository>

Java

      data = new AbstractChartData(ChartDataEncoding.TEXT, 100) {

            public double[][] getData() {
                return new double[][]{{100, 80, 60, 30, 30, 30, 10}};
            }
        };

        provider = new ChartProvider(new Dimension(200, 100), ChartType.VENN, data);

        add(new Chart("venn", provider));

HTML

<div wicket:id="venn"></div>

Result

Project Maintainers

Daniel Spiewak

Source Code

core-1.4.x Branch

Path is: /jdk-1.5-parent/googlecharts-parent

master Branch

Path is: /jdk-1.5-parent/googlecharts-parent

Clone this wiki locally