echarts - react
在echarts种,旧的数据不会默认清理,需要加merge属性
react-echart中清理旧数据的方法是noMerge={true}
<ReactEcharts
option={this.getOption()}
notMerge={true}
style={{ width: '400px', height: '300px' }}
/>
在echarts种,旧的数据不会默认清理,需要加merge属性
react-echart中清理旧数据的方法是noMerge={true}