chartjs-web-components

WebJar for chartjs-web-components

License

License

BSD 3-Clause
Categories

Categories

JavaScript Languages Github Development Tools Version Controls
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

github-com-fsx950223-chartjs-web-components
Last Version

Last Version

2.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

chartjs-web-components
WebJar for chartjs-web-components
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/fsx950223/chartjs-web-components

Download github-com-fsx950223-chartjs-web-components

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/github-com-fsx950223-chartjs-web-components/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>github-com-fsx950223-chartjs-web-components</artifactId>
    <version>2.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/github-com-fsx950223-chartjs-web-components/
implementation 'org.webjars.npm:github-com-fsx950223-chartjs-web-components:2.0.0'
// https://jarcasting.com/artifacts/org.webjars.npm/github-com-fsx950223-chartjs-web-components/
implementation ("org.webjars.npm:github-com-fsx950223-chartjs-web-components:2.0.0")
'org.webjars.npm:github-com-fsx950223-chartjs-web-components:jar:2.0.0'
<dependency org="org.webjars.npm" name="github-com-fsx950223-chartjs-web-components" rev="2.0.0">
  <artifact name="github-com-fsx950223-chartjs-web-components" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='github-com-fsx950223-chartjs-web-components', version='2.0.0')
)
libraryDependencies += "org.webjars.npm" % "github-com-fsx950223-chartjs-web-components" % "2.0.0"
[org.webjars.npm/github-com-fsx950223-chartjs-web-components "2.0.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

Chartjs Web Components

The web components for chart.js which is built on lit-element

Live Demo

https://fsx950223.github.io/chartjs-web-components/live-demo/

Install

npm i chartjs-web-components

Lit-Element Usage

<base-chart id="chart" type="chartType" .data="${chartData}" .options="${chartOptions}"></base-chart>
import 'chartjs-web-components'

Vue Example

<base-chart id="chart" type="chartType" :data="data" :options="options"></base-chart>
import VueChartjs from 'chartjs-web-components/dist/vue.js'

React Example

import ReactChartjs from 'chartjs-web-components/dist/react.js'
<ReactChartjs data={data} type={type} options={options}/>

Demo

npm run start

Versions

Version
2.0.0
1.5.0