@conectate/ct-chartjs
v4.0.0
Published
HTML5 Chartjs made with Web Components and Lit
Downloads
9
Readme
ct-chartjs
It's a simple wrapper of chart.js for LitElement
Installation
To include this, type:
$ yarn add @conectate/ct-chartjs
# or
$ npm i @conectate/ct-chartjs
Usage
import '@conectate/ct-chartjs'
export class xElement extends LitElement {
render(){
return html`<ct-chartjs
delay="200"
type="doughnut"
.data=${{ ... }}
.options=${{ ... }}
></ct-chartjs>`
}
}
Follow me
https://twitter.com/herberthobregon
https://www.conectate.today/herberthobregon
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -m 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
History
- v0.1.0 Initial Release
License
See LICENSE