2019-07-31 10:09:35 +08:00
[中文 ](./README.md )
2019-07-05 16:17:15 +08:00
< h1 align = "center" > DataV< / h1 >
< 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" / >
< / a >
2019-07-05 16:25:54 +08:00
< a href = "https://www.npmjs.com/package/@jiaminghi/data-view" >
2019-07-05 16:17:15 +08:00
< img src = "https://img.shields.io/npm/v/@jiaminghi/data-view.svg" alt = "LICENSE" / >
< / a >
< / p >
2019-07-31 10:09:35 +08:00
## What is DataV?
2019-07-05 16:17:15 +08:00
2019-09-25 12:11:21 +08:00
* DataV is a data **visualization** components library based on **Vue** ( Of course there are also [React versions ](https://github.com/DataV-Team/DataV-React )) .
2019-07-31 10:09:35 +08:00
* Provide cool **SVG** borders and decorations.
* Provide common **charts** such as line chart, etc..
* flying line chart, carousel table and etc.
2019-07-05 16:17:15 +08:00
2019-07-31 10:09:35 +08:00
### Install with npm
2019-07-05 16:17:15 +08:00
```shell
$ npm install @jiaminghi/data -view
```
2019-07-31 10:09:35 +08:00
### use
2019-07-05 16:17:15 +08:00
```js
import Vue from 'vue'
import DataV from '@jiaminghi/data-view'
Vue.use(DataV)
2019-07-31 10:09:35 +08:00
// Introduced on demand
2019-07-05 16:17:15 +08:00
import { borderBox1 } from '@jiaminghi/data-view'
Vue.use(borderBox1)
```
2019-08-27 18:33:14 +08:00
Detailed documents and examples can be viewed on the [HomePage ](http://datav.jiaminghi.com ).
2019-09-10 15:10:02 +08:00
### UMD version
2019-09-10 15:32:42 +08:00
The `UMD` version can be directly imported using the `script` tag. The `UMD` version file is located in the project `dist` directory. After import, all components will be automatically registered as **Vue global components** . Be sure to introduce `Vue` before introducing `DataV` .
2019-09-10 15:10:02 +08:00
[UMD version usage example ](./umdExample.html )
2019-09-10 11:22:42 +08:00
### React version
The reaction version is already under development, so stay tuned
2019-09-06 10:59:55 +08:00
### Questionnaire
React version of the component library and feedback[Questionnaire](https://www.wjx.cn/jq/45326197.aspx)
2019-09-10 15:10:02 +08:00
![问卷调查 ](./questionnaire.jpg )
2019-09-06 10:59:55 +08:00
2019-09-02 14:17:07 +08:00
### TODO
2019-09-05 11:55:25 +08:00
* **flylineChart**Add multi-center point and reverse fly line function.
2019-09-02 14:17:07 +08:00
* Add color and other necessary configuration to the **borderBox** and **decoration** to enhance configurability and flexibility.
2019-09-04 08:56:40 +08:00
### Acknowledgement
2019-09-04 08:54:48 +08:00
The development of the component library is based on personal learning and interest. Due to technical level and experience limitations, there are still many imperfections in the components. If there are errors, you can submit [issue ](https://github.com/jiaming743/DataV/issues/new?template=bug_report.md ) in time or add feedback groups for feedback. Welcome to provide corrections and suggestions. Thank you for your support.
2019-09-04 09:04:33 +08:00
### Feedback
![Feedback ](./QQGroup.png )
2019-09-04 08:56:40 +08:00
### Demo
2019-08-27 18:38:18 +08:00
The Demo page uses the full-screen component, please view it after F11 full screen.
2019-08-27 18:42:33 +08:00
* [Construction Data ](http://datav.jiaminghi.com/demo/construction-data/index.html )
2019-08-27 18:33:14 +08:00
![construction-data ](./demoImg/construction-data.jpg )
2019-08-27 18:42:33 +08:00
* [Manage-Desk ](http://datav.jiaminghi.com/demo/manage-desk/index.html )
2019-08-27 18:33:14 +08:00
2019-08-29 16:49:17 +08:00
![manage-desk ](./demoImg/manage-desk.jpg )
2019-08-30 12:53:31 +08:00
* [Electronic-File ](http://datav.jiaminghi.com/demo/electronic-file/index.html )
![electronic-file ](./demoImg/electronic-file.jpg )