echarts-bot[bot] commented on issue #21248: URL: https://github.com/apache/echarts/issues/21248#issuecomment-3262570630
@whosalex 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. 🤗 <details><summary><b>TRANSLATED</b></summary><br> **TITLE** [Feature] lines animations need to execute the previously incomplete animation after setting setOption. The animation stopped abruptly halfway through the setOption, which was a bit abrupt **BODY** ### What problem does this feature solve?Scenario: A map effect of flying lines on a website under attack. When new attack data comes in and adds flying lines, the previous animations that have not finished executing are directly reset after calling setOption.### What does the proposed API look like?```series: [ { id: 2, type: 'lines', coordinateSystem: 'geo', silent: true, effect: { show: true, trailWidth: 2, trailOpacity: 0.5, trailLength: 0.02, period: 3, symbol: 'arrow', symbolSize: 6, loop: false, }, blendMode: 'source-over', lineStyle: { width: 2, color: function (params: { value?: [number[], number[], string] }) { return params.value?.[2] || 'rgb(255,183,45)' }, curveness: 0.5, }, zlevel: 1, animation: true, animationDuration: 3000, /** Add configu ration item to implement incremental data animation, allowing existing data animations to continue executing */ animationIncrementalUpdate: true, data: [], },]``` </details> -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
