vaadin-charts

WebJar for vaadin-charts

License

License

Categories

Categories

Vaadin User Interface Web Frameworks Github Development Tools Version Controls Charts
GroupId

GroupId

org.webjars.bower
ArtifactId

ArtifactId

github-com-vaadin-vaadin-charts
Last Version

Last Version

v5.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

vaadin-charts
WebJar for vaadin-charts
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/vaadin/vaadin-charts

Download github-com-vaadin-vaadin-charts

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.bower/github-com-vaadin-vaadin-charts/ -->
<dependency>
    <groupId>org.webjars.bower</groupId>
    <artifactId>github-com-vaadin-vaadin-charts</artifactId>
    <version>v5.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bower/github-com-vaadin-vaadin-charts/
implementation 'org.webjars.bower:github-com-vaadin-vaadin-charts:v5.0.0'
// https://jarcasting.com/artifacts/org.webjars.bower/github-com-vaadin-vaadin-charts/
implementation ("org.webjars.bower:github-com-vaadin-vaadin-charts:v5.0.0")
'org.webjars.bower:github-com-vaadin-vaadin-charts:jar:v5.0.0'
<dependency org="org.webjars.bower" name="github-com-vaadin-vaadin-charts" rev="v5.0.0">
  <artifact name="github-com-vaadin-vaadin-charts" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bower', module='github-com-vaadin-vaadin-charts', version='v5.0.0')
)
libraryDependencies += "org.webjars.bower" % "github-com-vaadin-vaadin-charts" % "v5.0.0"
[org.webjars.bower/github-com-vaadin-vaadin-charts "v5.0.0"]

Dependencies

compile (4)

Group / Artifact Type Version
org.webjars.bower » github-com-highcharts-highcharts-dist jar v4.2.6
org.webjars.bower : github-com-polymer-polymer jar [2.0.0,3)
org.webjars.bower : github-com-vaadin-license-checker jar [1.0.0,2)
org.webjars.bower : iron-resizable-behavior jar [2.0.0,3)

Project Modules

There are no modules declared in this project.

npm version Bower version Build Status Coverage Status Published on webcomponents.org Gitter

Published on Vaadin  Directory Stars on vaadin.com/directory

Vaadin Charts

Live Demo | API documentation

Vaadin Charts is a Web Component for creating high quality charts, part of the Vaadin components.

<vaadin-chart type="pie">
  <vaadin-chart-series values='[
      ["Firefox", 45.0],
      ["IE", 26.8],
      ["Chrome", 12.8],
      ["Safari", 8.5],
      ["Opera", 6.2],
      ["Others", 0.7]]'>
  </vaadin-chart-series>
</vaadin-chart>

Screenshot of vaadin-chart

Relevant links

Installation

Vaadin components are distributed as Bower and npm packages. Please note that the version range is the same, as the API has not changed. You should not mix Bower and npm versions in the same application, though.

Unlike the official Polymer Elements, the converted Polymer 3 compatible Vaadin components are only published on npm, not pushed to GitHub repositories.

Polymer 2 and HTML Imports compatible version

Install vaadin-charts:

bower i vaadin/vaadin-charts --save

Once installed, import it in your application:

<link rel="import" href="bower_components/vaadin-charts/vaadin-chart.html">

Polymer 3 and ES Modules compatible version

Install vaadin-charts:

npm i @vaadin/vaadin-charts --save

Once installed, import it in your application:

import '@vaadin/vaadin-charts/vaadin-chart.js';

Install License Key

After one day using Vaadin Charts in a development environment you will see a pop-up that asks you to enter the license key. You can get your trial key from https://vaadin.com/pro/licenses. If the license is valid, it will be saved to the local storage of the browser and you will not see the pop-up again.

Screenshot of vaadin-chart

Running demos and tests in browser

  1. Fork the vaadin-charts repository and clone it locally.

  2. Make sure you have npm installed.

  3. When in the vaadin-charts directory, run npm install and then bower install to install dependencies.

  4. Make sure you have polymer-cli installed globally: npm i -g polymer-cli.

  5. Run polymer serve --open, browser will automatically open the component API documentation.

  6. You can also open demo or in-browser tests by adding demo or test to the URL, for example:

Running tests from the command line

  1. When in the vaadin-charts directory, run polymer test

Following the coding style

We are using ESLint for linting JavaScript code. You can check if your code is following our standards by running npm run lint, which will automatically lint all .js files as well as JavaScript snippets inside .html files.

Contributing

To contribute to the component, please read the guideline first.

License

Vaadin Charts is distributed under the terms of Commercial Vaadin Developer License 4.0 ("CVDLv4"). A copy of the license is included as LICENSE.txt in this software package.

Vaadin collects development time usage statistics to improve this product. For details and to opt-out, see https://github.com/vaadin/vaadin-usage-statistics.

org.webjars.bower

Vaadin

An open platform for building modern web apps for Java back ends

Versions

Version
v5.0.0