chartjs-web-components

WebJar for chartjs-web-components

License

License

MIT
Categories

Categories

JavaScript Languages
GroupId

GroupId

org.webjars.bowergithub.fsx950223
ArtifactId

ArtifactId

chartjs-web-components
Last Version

Last Version

2.4.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 chartjs-web-components

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.bowergithub.fsx950223/chartjs-web-components/ -->
<dependency>
    <groupId>org.webjars.bowergithub.fsx950223</groupId>
    <artifactId>chartjs-web-components</artifactId>
    <version>2.4.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bowergithub.fsx950223/chartjs-web-components/
implementation 'org.webjars.bowergithub.fsx950223:chartjs-web-components:2.4.0'
// https://jarcasting.com/artifacts/org.webjars.bowergithub.fsx950223/chartjs-web-components/
implementation ("org.webjars.bowergithub.fsx950223:chartjs-web-components:2.4.0")
'org.webjars.bowergithub.fsx950223:chartjs-web-components:jar:2.4.0'
<dependency org="org.webjars.bowergithub.fsx950223" name="chartjs-web-components" rev="2.4.0">
  <artifact name="chartjs-web-components" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bowergithub.fsx950223', module='chartjs-web-components', version='2.4.0')
)
libraryDependencies += "org.webjars.bowergithub.fsx950223" % "chartjs-web-components" % "2.4.0"
[org.webjars.bowergithub.fsx950223/chartjs-web-components "2.4.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.4.0
2.0.0