1.0.0 • Published 6 years ago

@sixphere/chartjs v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 years ago

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

AttributeValuesDescription
widthOptional Number - default: 0Chart width
heightOptional Number - default: 0Chart height
dataOptional Object - default: {}Chart data (see Chart.js reference)
optionsOptional 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