You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by GitBox <gi...@apache.org> on 2019/01/24 21:34:20 UTC

[GitHub] borodovisin opened a new issue #9840: Echarts markLine animation not linear all the time.

borodovisin opened a new issue #9840: Echarts markLine animation not linear all the time.
URL: https://github.com/apache/incubator-echarts/issues/9840
 
 
   When I use the markLine, when it is set for first time the animationEasing is linear, but if for example I hide that line and show it in another location for example: first time data: [{ yAxis: 10 }], second time: data: [{ yAxis: 20 }]. When use setOption of echarts instance the second time the animation is different, is like the like storage the last position and move to the new position. I saw in source code that line: 
   
   var lineDrawMap = this.markerGroupMap;
   var lineDraw = lineDrawMap.get(seriesId) || lineDrawMap.set(seriesId, new LineDraw());
   
   Why is mandatory the fact that data is storage. Exists a way to change that behaviour in echarts?
   
   For example always get the linear animation when I set data information inside the markLine option in a linear chart.
   
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@echarts.apache.org
For additional commands, e-mail: dev-help@echarts.apache.org