# yp-echarts

> A charts plugin for charts build width vue2 and echarts3

Latest version **0.0.2** (published 2017-01-20) · ISC license · 0 weekly downloads

## Install

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

## 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.0.2 |
| Published | 2017-01-20 |
| First published | 2017-01-13 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 4.0.0 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | xiaoyyang123 |
| Maintainers | xiaoyang |

## Links

- npm: https://www.npmjs.com/package/yp-echarts
- Repository: https://github.com/xiaoyyang123/yp-echarts
- Homepage: https://github.com/xiaoyyang123/yp-echarts#readme
- Issues: https://github.com/xiaoyyang123/yp-echarts/issues
- npm.io page: https://npm.io/package/yp-echarts

## Recent versions

- 0.0.2 (latest) — 2017-01-20
- 0.0.1 — 2017-01-13

## README

# yp-echarts
a charts plugin build with vue2 and echarts3


## 安装 

```
$ npm install yp-echarts --save
```

## 使用

```html
<template>
   <yp-echarts :options="options"></yp-echarts>
</template>

<script>
import ypEcharts from 'yp-echarts';

export default {
	components: { ypEcharts },
	data() {
		return {
			options: {
        title: {
          text: 'ECharts 入门示例'
        },
        tooltip: {},
        legend: {
          data: ['销量']
        },
        xAxis: {
          data: ['衬衫', '羊毛衫', '雪纺衫', '裤子', '高跟鞋', '袜子']
        },
        yAxis: {},
        series: [{
          name: '销量',
          type: 'bar',
          data: [5, 20, 36, 10, 10, 20]
        }]
      }
		}
	}
};
</script>
```

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