chartjs-web-components

WebJar for chartjs-web-components

License

License

MIT
Categories

Categories

JavaScript Languages
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

chartjs-web-components
Last Version

Last Version

2.7.1
Release Date

Release Date

Type

Type

jar
Description

Description

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

Project URL

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

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.7.1
1.5.0