Docs

Documentation versions (currently viewingVaadin 7)

You are viewing documentation for an older Vaadin version. View latest documentation

Installing Vaadin Charts

As with most Vaadin add-ons, you can install Vaadin Charts as a Maven or Ivy dependency in your project, or from an installation package. For general instructions on installing add-ons, please see "Using Vaadin Add-ons".

Vaadin Charts requires Vaadin 7.4 or later.

Using Vaadin Charts requires a license key, which you must install before compiling the widget set. The widget set must be compiled after setting up the dependency or library JARs.

For instructions on installing a license key, see "Installing Commercial Vaadin Add-on License".

Maven Dependency

The Maven dependency for Vaadin Charts is as follows:

<dependency>
    <groupId>com.vaadin.addon</groupId>
    <artifactId>vaadin-charts</artifactId>
    <version>3.2.0</version>
</dependency>

You also need to define the Vaadin add-ons repository if not already defined:

<repository>
   <id>vaadin-addons</id>
   <url>http://maven.vaadin.com/vaadin-addons</url>
</repository>

Ivy Dependency

The Ivy dependency, to be defined in ivy.xml, would be as follows:

<dependency org="com.vaadin" name="vaadin-charts"
            rev="3.2.0" />

It is generally recommended to use a fixed version number, but you can also use latest.release to get the latest release.