2019-07-05 16:17:52 +08:00
|
|
|
[中文](./README_CN.md)
|
|
|
|
|
2019-06-25 19:57:04 +08:00
|
|
|
<h1 align="center">DataV</h1>
|
2018-12-04 11:43:18 +08:00
|
|
|
|
2019-06-25 19:57:04 +08:00
|
|
|
<p align="center">
|
|
|
|
<a href="https://github.com/jiaming743/datav/blob/master/LICENSE">
|
|
|
|
<img src="https://img.shields.io/github/license/jiaming743/datav.svg" alt="LICENSE" />
|
2019-06-26 15:25:53 +08:00
|
|
|
</a>
|
2019-07-05 16:25:54 +08:00
|
|
|
<a href="https://www.npmjs.com/package/@jiaminghi/data-view">
|
2019-06-25 19:57:04 +08:00
|
|
|
<img src="https://img.shields.io/npm/v/@jiaminghi/data-view.svg" alt="LICENSE" />
|
|
|
|
</a>
|
|
|
|
</p>
|
2018-12-04 11:43:18 +08:00
|
|
|
|
2019-07-05 16:17:52 +08:00
|
|
|
## What is DataV?
|
|
|
|
|
|
|
|
* DataV is a data **visualization** components library based on **Vue**.
|
|
|
|
* Provide cool **SVG** borders and decorations.
|
|
|
|
* Provide common **charts** such as line chart, etc..
|
|
|
|
* flying line chart, carousel table and etc.
|
2018-12-04 11:43:18 +08:00
|
|
|
|
2019-06-25 19:57:04 +08:00
|
|
|
### Install with npm
|
2018-12-04 11:43:18 +08:00
|
|
|
|
2019-06-25 19:57:04 +08:00
|
|
|
```shell
|
|
|
|
$ npm install @jiaminghi/data-view
|
|
|
|
```
|
2018-12-04 11:43:18 +08:00
|
|
|
|
2019-07-05 16:17:52 +08:00
|
|
|
### use
|
|
|
|
|
|
|
|
```js
|
|
|
|
import Vue from 'vue'
|
|
|
|
import DataV from '@jiaminghi/data-view'
|
|
|
|
|
|
|
|
Vue.use(DataV)
|
|
|
|
|
|
|
|
// Introduced on demand
|
|
|
|
import { borderBox1 } from '@jiaminghi/data-view'
|
|
|
|
Vue.use(borderBox1)
|
|
|
|
```
|
|
|
|
|
|
|
|
Detailed documents and examples can be viewed on the [HomePage](http://datav.jiaminghi.com).
|