vaadin / charts

Framework 8 version of Vaadin Charts
Other
54 stars 84 forks source link
java vaadin-charts vaadin-framework vaadin-pro

Published on vaadin.com/directory

Vaadin Charts

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.

License & Author

This Add-on is distributed under Vaadin Commercial License and Service Terms (VCL).

Vaadin Charts is written by Vaadin Ltd.

Setting up for development:

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

Demos

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

Running integration tests locally

  1. run mvn jetty:run in the integration-tests directory
  2. add -DlocalChrome=true (or similar for Phantom, Firefox, or Edge) as a JVM argument
  3. run one of the test classes (e.g. BarWithDisabledStateTBTest) in integration-tests module as a JUnit test
  4. OR navigate to http://localhost:9998// (e.g. http://localhost:9998/columnandbar/BarWithDisabledState) to test it manually

Things to take into account:

Project modules