MCPcopy
hub / github.com/ElemeFE/v-charts

github.com/ElemeFE/v-charts @v1.18.0 sqlite

repository ↗ · DeepWiki ↗ · release v1.18.0 ↗
156 symbols 318 edges 91 files 0 documented · 0%
README

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>



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



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

Core symbols most depended-on inside this repo

getFormated
called by 27
src/utils.js
itemPoint
called by 9
src/constants.js
resize
called by 3
src/core.js
createBox
called by 2
test/index.js
getStackMap
called by 2
src/utils.js
getMapJSON
called by 2
src/utils.js
getBmap
called by 2
src/utils.js
getAmap
called by 2
src/utils.js

Shape

Function 156

Languages

TypeScript100%

Modules by API surface

src/core.js22 symbols
src/packages/candle/main.js12 symbols
src/packages/bar/main.js11 symbols
src/packages/scatter/main.js8 symbols
src/packages/heatmap/main.js8 symbols
src/packages/waterfall/main.js7 symbols
src/packages/map/main.js7 symbols
src/packages/line/main.js7 symbols
src/utils.js6 symbols
src/packages/radar/main.js6 symbols
src/packages/pie/main.js6 symbols
src/packages/funnel/main.js5 symbols

Dependencies from manifests, versioned

autoprefixer8.6.3 · 1×
babel-core6.26.3 · 1×
babel-eslint8.2.3 · 1×
babel-loader7.1.4 · 1×
babel-plugin-external-helpers6.22.0 · 1×
babel-plugin-transform-object-assign6.22.0 · 1×
babel-polyfill6.26.0 · 1×
babel-preset-env1.7.0 · 1×
babel-preset-stage-26.24.1 · 1×
conventional-changelog-cli2.0.1 · 1×
css-loader0.28.11 · 1×
cssnano3.10.0 · 1×

For agents

$ claude mcp add v-charts \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact