echarts icon indicating copy to clipboard operation
echarts copied to clipboard

桑基图focus设置trajectory模式,当links超过100时,非常卡

Open chengaohe45 opened this issue 2 years ago • 4 comments

Version

5.4.3

Link to Minimal Reproduction

配置桑基图focus设置trajectory模式,节点60个,links也就250个左右,页面渲染卡顿达到4秒,把数据弄到官网测试,同样的结果

Steps to Reproduce

配置桑基图focus设置trajectory模式,节点60个,links也就250个左右,页面渲染卡顿达到4秒,把数据弄到官网测试,同样的结果

Current Behavior

配置桑基图focus设置trajectory模式,节点60个,links也就250个左右,页面渲染卡顿达到4秒,把数据弄到官网测试,同样的结果

Expected Behavior

页面渲染要流畅

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

chengaohe45 avatar Jan 24 '24 04:01 chengaohe45

@chengaohe45 It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗

TRANSLATED

TITLE

Sankey diagram focus sets the trajectory mode. When the links exceed 100, it is very stuck.

BODY

Version

5.4.3

Link to Minimal Reproduction

Configure the Sankey diagram focus and set the trajectory mode. There are 60 nodes and only about 250 links. The page rendering is stuck for 4 seconds. I put the data to the official website for testing. The same result.

Steps to Reproduce

Configure the Sankey diagram focus and set the trajectory mode. There are 60 nodes and only about 250 links. The page rendering is stuck for 4 seconds. I put the data to the official website for testing. The same result.

Current Behavior

Configure the Sankey diagram focus and set the trajectory mode. There are 60 nodes and only about 250 links. The page rendering is stuck for 4 seconds. I put the data to the official website for testing. The same result.

Expected Behavior

Page rendering should be smooth

Environment

-OS:
-Browser:
- Framework:

Any additional comments?

No response

echarts-bot[bot] avatar Jan 24 '24 04:01 echarts-bot[bot]

@chengaohe45 Please provide a demo for the issue either with Official Editor, CodePen, CodeSandbox or JSFiddle.

echarts-bot[bot] avatar Jan 24 '24 07:01 echarts-bot[bot]

https://codepen.io/chengaohe45/pen/OJqONgv

可以查看开发者模式->控制台的打印信息:chart.setOption这个函数所花费的时间不少于1秒(我测试几台机都是一样的结果)

chengaohe45 avatar Jan 26 '24 09:01 chengaohe45

此问题计划什么时候可以修复呢?

chengaohe45 avatar Feb 19 '24 09:02 chengaohe45

有计划修复吗?

chengaohe45 avatar Mar 27 '24 09:03 chengaohe45