对接示例发现echarts版本升级到4.0以上后,线条特效示例拖动残影严重,并且在拖动结束后,在之前的效果显示的位置还会留下痕迹。以下为echarts官方示例录制效果(这张动图残留痕迹可能看不太请,官网示例可重现该问题):

亲测echats3.8.5并没有出现该问题。是否拖拽事件处理有所改变,导致该问题?

这张底图残留痕迹清楚一点儿。
myChart.setOption(option = {
animation: false,
bmap: {},
series:[]
}
您的意思是这样么?若是的话,刚试了下,还是不行。
sorry,因为我遇到点拖动残影问题是animation默认为true,设为false之后解决了,你的问题我刚才也试了,不行,但是官方示例 ( http://echarts.baidu.com/examples/editor.html?c=lines-bmap-effect ) 设置第一个series的zlevel为2也会好一些,你可以试试
http://gallery.echartsjs.com/editor.html?c=bmap-bus 这个示例没有问题是因为用的版本是3.8.0,第二个方式试了下,真的没有问题了,谢谢~
发件人: eric
发送时间: 2018-03-16 16:00
收件人: ecomfe/echarts
抄送: tangqinGiser; Author
主题: Re: [ecomfe/echarts] echarts4.0以上版本“线特效”拖动图层,残影严重问题 (#7953)
我刚才也试了,不行,但是gallery中的demo: http://gallery.echartsjs.com/editor.html?c=bmap-bus 没有这个问题,官方示例(http://echarts.baidu.com/examples/editor.html?c=lines-bmap-effect)设置第一个series的zlevel为2也会好一些,你可以试试
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Most helpful comment
sorry,因为我遇到点拖动残影问题是animation默认为true,设为false之后解决了,你的问题我刚才也试了,不行,但是官方示例 ( http://echarts.baidu.com/examples/editor.html?c=lines-bmap-effect ) 设置第一个series的zlevel为2也会好一些,你可以试试