Docs

Documentation versions (currently viewingVaadin 8)

Vaadin 8 reached End of Life on February 21, 2022. Discover how to make your Vaadin 8 app futureproof →

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 4 requires Vaadin 8.

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</groupId>
    <artifactId>vaadin-charts</artifactId>
    <version>4.0.5</version>
</dependency>

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

<repository>
   <id>vaadin-addons</id>
   <url>https://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="4.0.5" />

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