ECharts Components for React
npm install react-echarts --save
import ECharts from 'react-echarts';
<ECharts option={this.state.option} />
https://github.com/luqin/react-echarts/tree/master/examples
| Name | Type | Default | Description |
|---|---|---|---|
| option | object | ECharts图表的配置项和数据 | |
| notMerge | boolean | false | 可选,是否不跟之前设置的option进行合并,默认为false,即合并。 |
| notRefreshImmediately | boolean | false | 可选,在设置完option后是否不立即刷新画布,默认为false,即立即刷新。 |