react-echarts

0.1.1 • Public • Published

react-echarts

ECharts Components for React

NPM version Build Status

Dependency Status devDependency Status peerDependency Status

Installation

npm install react-echarts --save

Usage

import ECharts from 'react-echarts';
 
<ECharts option={this.state.option} />

Examples

https://github.com/luqin/react-echarts/tree/master/examples

Props

Name Type Default Description
option object ECharts图表的配置项和数据
notMerge boolean false 可选,是否不跟之前设置的option进行合并,默认为false,即合并。
notRefreshImmediately boolean false 可选,在设置完option后是否不立即刷新画布,默认为false,即立即刷新。

Package Sidebar

Install

npm i react-echarts

Weekly Downloads

682

Version

0.1.1

License

ISC

Last publish

Collaborators

  • gajus
  • luqin