# ins-echarts

> echarts for vue

Latest version **2.0.1** (published 2021-05-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install ins-echarts
pnpm add ins-echarts
yarn add ins-echarts
bun add ins-echarts
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.1 |
| Published | 2021-05-04 |
| First published | 2020-09-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.7 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Xyuan |
| Maintainers | yuanx |
| Keywords | vue, echarts |

## Links

- npm: https://www.npmjs.com/package/ins-echarts
- Repository: https://github.com/Xyuan-abs/ins-echarts
- Homepage: https://xyuan-abs.github.io/ins-echarts/
- Issues: https://github.com/Xyuan-abs/ins-echarts/issues
- npm.io page: https://npm.io/package/ins-echarts

## Dependencies (1)

- [loadsh](https://npm.io/package/loadsh.md) 0.0.4

## 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

- 2.0.1 (latest) — 2021-05-04
- 0.1.22 — 2021-03-04
- 0.1.21 — 2021-03-04
- 0.1.20 — 2021-03-04
- 0.1.19 — 2021-03-03
- 0.1.18 — 2021-02-25
- 0.1.17 — 2020-12-02
- 0.1.16 — 2020-12-01
- 0.1.15 — 2020-11-17
- 0.1.14 — 2020-11-17
- 0.1.13 — 2020-11-17
- 0.1.12 — 2020-10-21
- 0.1.11 — 2020-10-21
- 0.1.10 — 2020-10-21
- 0.1.9 — 2020-10-20
- … 7 more at https://npm.io/package/ins-echarts/versions

## README

## 开发文档

[ins-echarts 在线开发文档](https://xyuan-abs.github.io/ins-echarts/)

## Install

```
npm i echarts vue-echarts ins-echarts -S
```

## Quick Start

### 完整引入

在 main.js 中写入以下内容：

```javascript
import Vue from 'vue'

import 'echarts'

import ECharts from 'vue-echarts'
Vue.component('ECharts', ECharts)

import InsEcharts from 'ins-echarts'
import 'ins-echarts/lib/ins-echarts.css'

Vue.use(InsEcharts)

new Vue({
  el: '#app',
  render: h => h(App),
})
```

### 按需引入

借助 babel-plugin-component，我们可以只引入需要的组件，以达到减小项目体积的目的。

```javascript
import Vue from 'vue'

import 'echarts'

import ECharts from 'vue-echarts'
Vue.component('ECharts', ECharts)

import InsEcharts from 'ins-echarts'
import 'ins-echarts/lib/ins-echarts.css'

let {
  Base,
  SingleY,
  DoubleY,
  AngleBar,
  Pie,
  PieNested,
  PieRose,
  PieYujue,
  Radar,
  Treemap,
} = InsEcharts

Vue.use(Base)
Vue.use(SingleY)
Vue.use(DoubleY)
Vue.use(AngleBar)
Vue.use(Pie)
Vue.use(PieNested)
Vue.use(PieRose)
Vue.use(PieYujue)
Vue.use(Radar)
Vue.use(Treemap)

new Vue({
  el: '#app',
  render: h => h(App),
})
```

## To Do

- support more type of echarts

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