whosalex opened a new issue, #21248:
URL: https://github.com/apache/echarts/issues/21248

   ### What problem does this feature solve?
   
   场景:一个网站受攻击的地图飞线效果,新的攻击数据来后,添加飞线,setOption 后,之前未执行完的动画直接被重置了
   ![threatMap](https://youke1.picui.cn/s1/2025/09/06/68bc4a2d3edd3.png)
   
   ### 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,
         /** 添加配置项,实现增量数据动画,原有数据动画继续执行 */
         animationIncrementalUpdate: true,
         data: [],
       },
   ]
   ```


-- 
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]

Reply via email to