Vaadin Charts is a UI component add-on for Vaadin Framework 7+ which provides means to create multiple different types of charts in Vaadin applications.
This Add-on is distributed under Vaadin Commercial License and Service Terms (VCL).
Vaadin Charts is written by Vaadin Ltd.
Clone the project in GitHub (or fork it if you plan on contributing) and required submodules
git clone git@github.com:vaadin/charts.git
git submodule init
git submodule update
To build and install the project into the local repository run
mvn install -DskipITs
in the root directory. -DskipITs
will skip the integration tests, which require a TestBench license. If you want to run all tests as part of the build, run
mvn install
To view the included demos, run
mvn jetty:run
in the demo
directory
and navigate to http://localhost:8080
To run with Super Dev Mode, run
mvn vaadin:run-codeserver
in the demo
directory.
You need to have the UI jetty running as well, then navigate to http://localhost:8080/?superdevmode
mvn jetty:run
in the integration-tests
directory-DlocalChrome=true
(or similar for Phantom, Firefox, or Edge) as a JVM argumentBarWithDisabledStateTBTest
) in integration-tests module as a JUnit testThings to take into account:
-DlocalPhantom=true
, PhantomJS needs to be installed separately and added to PATHAbstractSimpleScreenShotTestBenchTest
is likely to fail locally because different environments render things slightly differentlydemo
module contains a web app that shows most of the integration tests in a simple demo app.chart-export-demo
module demonstrates how charts can be converted to SVG and via it used in e.g. PDF documents.chart-plugin-demo
shows how the underlying library version can be changed and how plugins can be used with Vaadin Charts.