@sixphere/chartjs

1.0.0 • Public • Published

Sixphere - Chart.js Web Components

Version Node version MIT License

Downloads Total downloads

Packagephobia Bundlephobia


Web component implementation of charts elements from Chart.js library. This implementation includes the following charts:

Install

npm install '@sixphere/chartjs' --save

HTML API

Attributes

Attribute Values Description
width [Optional] Number - default: 0 Chart width
height [Optional] Number - default: 0 Chart height
data [Optional] Object - default: {} Chart data (see Chart.js reference)
options [Optional] Object - default: {} Chart options (see Chart.js reference)

How to use?

Register as a custom element

import { ChartBar, ChartLine } from '@sixphere/chartjs'

CustomElements.define(ChartBar.is, ChartBar)
CustomElements.define(ChartLine.is, ChartLine)

Author

Sixphere is not only a group of experienced professionals, that keep a huge amount of knowledge, take care about what and how they do their job. They solve their partner problems in an agile way and are aware of their customer needs through emotional intelligence connections.

Sixphere is a simpler way of understanding IT services, based on a strong and well balanced mix-ture of principles.

License

MIT License © 2019 Sixphere

Package Sidebar

Install

npm i @sixphere/chartjs

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

667 kB

Total Files

18

Last publish

Collaborators

  • ferjimriv
  • sixphere-codelovers