## 安装

```sh
npm install @blueking/bkcharts
```

## 导入文件

```javascript
import BKChart from '@blueking/bkcharts'
const ctx = document.getElementById('myChart').getContext('2d');
const instance = new BKChart(ctx, {
    type: 'line',
    data: {
        labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'],
        datasets: [{
            label: 'My First dataset',
            backgroundColor: 'rgb(255, 99, 132)',
            borderColor: 'rgb(255, 99, 132)',
            data: [0, 10, 5, 2, 20, 30, 45]
        }]
    },
    options: {}
})
```