# vueN-echarts

VueN echarts based on https://echarts.apache.org/zh/index.html

Echarts component for vue.

# Installation

npm i vuen-echarts --save

or

yarn add vuen-echarts

import to use:

import NoxEcharts from 'vuen-echarts'

# Usage

Register the component

import echarts from 'echarts';
import NoxEcharts from 'vuen-echarts';

export default {
  components: { NoxEcharts },
}
    <nox-echarts
      :config="config"
      :data="data"
      ref="line"
    >

# Example

# Props

Props Type Default Description
config Object {
title,
subtitle,
legendLightCount, // // 默认显示几条线
legendScroll // legend太长出现滚动效果
}
data Array
initOptions Object { devicePixelRatio, renderer, width, height }
theme Object or String shine
autoresize Boolean true
manualUpdate Boolean false 是否手动更新