echarts - react

在echarts种,旧的数据不会默认清理,需要加merge属性

react-echart中清理旧数据的方法是noMerge={true}

<ReactEcharts 
  option={this.getOption()} 
  notMerge={true}  
  style={{ width: '400px', height: '300px' }}
/>
posted @ 2020-07-30 15:15  会挽雕弓如满月的张  阅读(253)  评论(0)    收藏  举报