# @jiaminghi/charts

> Lightweight charting

Latest version **0.2.18** (published 2020-10-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install @jiaminghi/charts
pnpm add @jiaminghi/charts
yarn add @jiaminghi/charts
bun add @jiaminghi/charts
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.18 |
| Published | 2020-10-30 |
| First published | 2019-05-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 373.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 163 |
| Author | JiaMing |
| Maintainers | yzyy, jiaming743 |
| Keywords | canvas, charts, line, bar, radar, pie |

## Links

- npm: https://www.npmjs.com/package/@jiaminghi/charts
- Repository: https://github.com/DataV-Team/charts
- Homepage: https://github.com/DataV-Team/charts#readme
- Issues: https://github.com/DataV-Team/charts/issues
- npm.io page: https://npm.io/package/@jiaminghi/charts

## Dependencies (2)

- [@babel/runtime](https://npm.io/package/@babel/runtime.md) ^7.5.5
- [@jiaminghi/c-render](https://npm.io/package/@jiaminghi/c-render.md) ^0.4.3

## Alternatives

- [d3-force-3d](https://npm.io/package/d3-force-3d.md) — 1.0M weekly downloads
- [ng2-charts](https://npm.io/package/ng2-charts.md) — 486.8K weekly downloads
- [@arcgis/core](https://npm.io/package/@arcgis/core.md) — 257.8K weekly downloads
- [react-sparklines](https://npm.io/package/react-sparklines.md) — 249.3K weekly downloads
- [react-native-gifted-charts](https://npm.io/package/react-native-gifted-charts.md) — 182.3K weekly downloads

## Recent versions

- 0.2.18 (latest) — 2020-10-30
- 0.2.17 — 2020-07-02
- 0.2.16 — 2020-06-16
- 0.2.15 — 2020-05-06
- 0.2.14 — 2020-05-02
- 0.2.13 — 2020-04-15
- 0.2.12 — 2020-01-15
- 0.2.11 — 2020-01-05
- 0.2.10 — 2019-12-25
- 0.2.9 — 2019-11-26
- 0.2.8 — 2019-10-24
- 0.2.7 — 2019-09-03
- 0.2.6 — 2019-09-03
- 0.2.5 — 2019-08-29
- 0.2.4 — 2019-08-28
- … 13 more at https://npm.io/package/@jiaminghi/charts/versions

## README

[ENGLISH](./README_EN.md)

<h1 align="center">Charts</h1>

<p align="center">
    <a href="https://github.com/DataV-Team/charts/blob/master/LICENSE">
        <img src="https://img.shields.io/github/license/DataV-Team/charts.svg" alt="LICENSE" />
    </a>
    <a href="https://www.npmjs.com/package/@jiaminghi/charts">
        <img src="https://img.shields.io/npm/v/@jiaminghi/charts.svg" alt="LICENSE" />
    </a>
</p>

### Charts是干什么的?

- 它是一个基于**canvas**的`轻量`图表库.

### 支持

* `折线图`
* `柱状图`
* `饼状图`
* `雷达图`
* `仪表盘`

### npm安装

```shell
$ npm install @jiaminghi/charts
```

### 使用

```javascript
import Charts from '@jiaminghi/charts'

const container = document.getElementById('container')

const myChart = new Charts(container)

myChart.setOption({
  title: 'My Chart',
  // ...otherConfig
})
```

详细文档及示例请移步[HomePage](http://charts.jiaminghi.com).

### 快速体验

```html
<!--资源位于个人服务器仅供体验和测试，请勿在生产环境使用-->
<!--调试版-->
<script src="http://lib.jiaminghi.com/charts/charts.map.js"></script>
<!--压缩版-->
<script src="http://lib.jiaminghi.com/charts/charts.min.js"></script>
<script>
  const Charts = window.Charts.default
  // do something
</script>
```

---
_Source: https://npm.io/package/@jiaminghi/charts · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
