gangyahaidao edited a comment on issue #9044: 
这个loop实现真的奇怪,搞了好几天了,还是有问题,例如在使用setOption更新图数据时,加入数据前后相同,这种实现effect居然不会重绘,就算数据不完全相同,那些相同的数据也不会重绘,个人认为在刷新数据之后,即使数据相同,effect配置一样,也应该重绘吧。谁能解答这个问题,用了最新的版本了,里面设置了loop,但还是没有解决,二次加载数据的时候还是不会重绘,希望再这里得到各位的帮助!!!
 
URL: 
https://github.com/apache/incubator-echarts/issues/9044#issuecomment-421995145
 
 
   
我觉得你的关注点有点跑偏了,增量式数据更新是合理的做法,每次setOption全部数据重新加载才是不好的,绘制轨迹实际上有很多种方式,可以把你想要的功能借助于现有的方法来实现,比如重新构造渲染的数据结构,或者仔细看一下例子找找适合你的方法

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to