Skip to content

基于 Vue2.0 和 ECharts 封装的图表组件📈📊

License

Notifications You must be signed in to change notification settings

coder0608/v-charts

This branch is up to date with ElemeFE/v-charts:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f3c31e0 · Jan 29, 2019
Aug 28, 2018
Jun 17, 2018
Jan 29, 2019
Oct 13, 2018
Nov 2, 2018
Oct 13, 2018
Jun 7, 2018
Sep 14, 2017
Sep 14, 2017
Aug 6, 2017
Oct 11, 2017
Sep 12, 2017
Jun 27, 2018
Nov 2, 2018
Nov 2, 2018
Jun 19, 2018
Jun 19, 2018
Jun 7, 2018
Jun 20, 2018
Jun 20, 2018
Nov 2, 2018
Nov 2, 2018

Repository files navigation

mark text

v-charts

Build Status NPM downloads Npm package Language License Join the chat

Document | Sample Project | English | 中文

Chart components based on Vue2.x and Echarts

Features

  • Uniform data format: Use an uniform data format that both convient for frontend and backend, and also easy to create and edit.
  • Simplified configuration: With simplified configuration items, complex requirements can be easily implemented.
  • Simple customization: Provide a variety of custom Echarts way, you can easily set the chart options.

Support

Modern browsers and Internet Explorer 10+, include pc and mobile browser.

Install

npm i v-charts echarts -S

Start

<template>
  <div>
    <ve-line :data="chartData"></ve-line>
  </div>
</template>

<script>
import VeLine from 'v-charts/lib/line.common'
export default {
  components: { VeLine },
  data () {
    return {
      chartData: {
        columns: ['date', 'PV'],
        rows: [
          { 'date': '01-01', 'PV': 1231 },
          { 'date': '01-02', 'PV': 1223 },
          { 'date': '01-03', 'PV': 2123 },
          { 'date': '01-04', 'PV': 4123 },
          { 'date': '01-05', 'PV': 3123 },
          { 'date': '01-06', 'PV': 7123 }
        ]
      }
    }
  }
}
</script>

Changelog

Detailed changes for each release are documented in the release notes or ChangeLog.

Contribution

Please make sure to read the Contributing Guide before making a pull request.

License

MIT

About

基于 Vue2.0 和 ECharts 封装的图表组件📈📊

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 79.8%
  • Vue 11.0%
  • HTML 9.2%