alibaba / BizCharts

Powerful data visualization library based on G2 and React.
http://bizcharts.net/products/bizCharts
6.17k stars 671 forks source link

dataset,在测试sankey图的时候,第一次加载正常,第二次再次运行,Maximum call stack size exceeded,就会报这个错,数据就是使用的示例数据 #1079

Open johnsmithsren opened 4 years ago

johnsmithsren commented 4 years ago

render() { let ds = new DataSet(); this.dv = ds.createView().source(data, { type: "graph", edges: (d: { links: any }) => d.links }); this.dv.transform({ type: "diagram.sankey" }); return ( <>

  </>
);
Jerry-qiqi commented 3 years ago

我对新数据和老数据做了深比较,不同时才更新解决了此问题