You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2020/05/07 06:04:18 UTC

[GitHub] [incubator-echarts] 2675569545 commented on issue #7075: 如何设置关系图不要一直疯狂运动?[type='graph']

2675569545 commented on issue #7075:
URL: https://github.com/apache/incubator-echarts/issues/7075#issuecomment-625047523


   > 好像可以设置节点为fixed,来控制节点固定。但是还没试过新增节点会怎样。。。逐步踩坑中
   
     你好,请教一点问题,关于你说的layoutAnimation属性设置为false,是可以解决元素移动的问题的,但是官方建议超过一定数据量后不要设置为false,页面会假死。我试了一下,我这里的数据基本都在1000以上,如果碰到上万的数据量,浏览器就会假死。
     关于你说的节点设置为fixed,我尝试了,如果直接在数据中设置每个元素的fixed属性为true,页面将一个元素都不会显示(最上面的图例会显示)。也不会报错


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org