react-echarts
ECharts Components for React
Installation
npm install react-echarts --save
Usage
; <ECharts option=thisstateoption />
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,即立即刷新。 |