3.1.19 • Published 3 months ago
ckn.chart v3.1.19
CKN Chart
This library is used for create chart component in CKN Framework. For more detail please visit CKN Frontend Framework (https://www.npmjs.com/package/ckn.frontend).
Installation
CKN Chart is public npm package on NPM registry.
npm install ckn.chart
ChartJS
CKN Chart provide frontend component for chart.js (https://www.chartjs.org/)
Component Registration
import {ChartJS} from 'ckn.chart';
// Register component
Component.register(ChartJS);
Component Usage
<ChartJS type="bar" datasets="{{[[1,2,3]]}}" labels="{{['A','B','C']}}"></ChartJS>
Component Properties
Property | Type | Default | Description |
---|---|---|---|
type | string | bar | Type of chart ex. bar, pie |
datasets | Array of array | - | Array of dataset |
labels | Array of string | - | Label of graph ex. axis-x labels |
License
3.1.19
3 months ago
3.1.18
3 months ago
3.1.16
4 months ago
3.1.17
4 months ago
3.1.15
4 months ago
3.1.14
5 months ago
3.1.12
5 months ago
3.1.13
5 months ago
3.1.11
7 months ago
3.1.10
7 months ago
3.1.9
7 months ago
3.1.8
7 months ago
3.1.7
8 months ago
3.1.6
8 months ago
3.1.5
9 months ago
3.1.4
9 months ago
3.1.3
9 months ago
3.1.2
9 months ago
3.1.1
9 months ago
3.1.0
9 months ago