設(shè)置notMerge屬性為true
<ReactEcharts notMerge={true} option={option} />
charts.setOption(option, notMerge, lazyUpdate)指煎,setOption有三個(gè)屬性烫饼,notMerge默認(rèn)為false梆靖,即默認(rèn)合并數(shù)據(jù)捏雌,設(shè)置為true不會(huì)合并數(shù)據(jù)從而實(shí)時(shí)刷新圖表
<ReactEcharts notMerge={true} option={option} />
charts.setOption(option, notMerge, lazyUpdate)指煎,setOption有三個(gè)屬性烫饼,notMerge默認(rèn)為false梆靖,即默認(rèn)合并數(shù)據(jù)捏雌,設(shè)置為true不會(huì)合并數(shù)據(jù)從而實(shí)時(shí)刷新圖表