@conectate/ct-chartjs
TypeScript icon, indicating that this package has built-in type declarations

4.0.0 • Public • Published

Published on webcomponents.org

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

Herberth Obregón

https://twitter.com/herberthobregon

https://www.conectate.today/herberthobregon

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -m 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

History

  • v0.1.0 Initial Release

License

See LICENSE

/@conectate/ct-chartjs/

    Package Sidebar

    Install

    npm i @conectate/ct-chartjs

    Weekly Downloads

    2

    Version

    4.0.0

    License

    BSD-3-Clause

    Unpacked Size

    25 kB

    Total Files

    7

    Last publish

    Collaborators

    • herberthobregon