arieslx commented on issue #9044: 这个loop实现真的奇怪,搞了好几天了,还是有问题,例如在使用setOption更新图数据时,加入数据前后相同,这种实现effect居然不会重绘,就算数据不完全相同,那些相同的数据也不会重绘,个人认为在刷新数据之后,即使数据相同,effect配置一样,也应该重绘吧。谁能解答这个问题,用了最新的版本了,里面设置了loop,但还是没有解决,二次加载数据的时候还是不会重绘,希望再这里得到各位的帮助!!! URL: https://github.com/apache/incubator-echarts/issues/9044#issuecomment-444029150 > 前辈您好,我也遇到了同样的问题。 > 具体描述为:三屏的演示窗口,左右屏为echarts图表数据展示,同样的json数据(具体包含饼状图,柱状图,水球图),要求点击刷新左右屏按钮,重绘页面(要求特效动画)。不知道,有没有解决方式,尝试了在echarts.init()前,dom.removeAttribute("_echarts_instance_");但是还是不会出现重绘动画 echarts.init(document.getElementById('echarts')).dispose();//销毁前一个实例 var myEcharts = echarts.init(document.getElementById('echarts'));//构建下一个实例 --------------------- 作者:jiang_mingyi 来源:CSDN 原文:https://blog.csdn.net/jiang_mingyi/article/details/75655657 版权声明:本文为博主原创文章,转载请附上博文链接! 最后这样解决了功能实现
---------------------------------------------------------------- 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]
