You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2020/11/25 02:07:51 UTC

[GitHub] [incubator-echarts] JasonXDDD opened a new issue #13689: dynamic-data line (area) chart doesn't update series with smoothly animation

JasonXDDD opened a new issue #13689:
URL: https://github.com/apache/incubator-echarts/issues/13689


   ### Version
   4.9.0
   
   ### Reproduction link
   [https://jsfiddle.net/apbxugh5/](https://jsfiddle.net/apbxugh5/)
   
   ### Steps to reproduce
   I copy https://echarts.apache.org/examples/zh/editor.html?c=dynamic-data2 sample, make it to be areaStyle,  add a scatter point to future time, and set `animate: true` on the options.
   
   ### What is expected?
    I expect it will update area series data smoothly. like: https://app.expertoption.com/
   
   ### What is actually happening?
   however, its updateAnimate is not work. only push data on the chart without animation.
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   <!-- This issue is in English. DO NOT REMOVE -->


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [incubator-echarts] JasonXDDD commented on issue #13689: dynamic-data line (area) chart doesn't update series with smoothly animation

Posted by GitBox <gi...@apache.org>.
JasonXDDD commented on issue #13689:
URL: https://github.com/apache/incubator-echarts/issues/13689#issuecomment-734673295


   Hi, @plainheart 
   I added it, but the same. https://jsfiddle.net/x4wj8nov/
   
   With see carefully, when the 1st series (line chart) before 2nd series ( scatter point ), line chart cannot update data with smoothly animation.
   but it is work for data after 2nd series.
   
   see: https://jsfiddle.net/x4wj8nov/


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [incubator-echarts] pissang commented on issue #13689: dynamic-data line (area) chart doesn't update series with smoothly animation

Posted by GitBox <gi...@apache.org>.
pissang commented on issue #13689:
URL: https://github.com/apache/incubator-echarts/issues/13689#issuecomment-734559131


   Hi, you can have smooth seamless animation by setting animation to `1000ms` duration and `linear` easing. Here is an example
   https://jsfiddle.net/w17vLaqt/


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [incubator-echarts] JasonXDDD commented on issue #13689: dynamic-data line (area) chart doesn't update series with smoothly animation

Posted by GitBox <gi...@apache.org>.
JasonXDDD commented on issue #13689:
URL: https://github.com/apache/incubator-echarts/issues/13689#issuecomment-734624692


   it still look like step by step animation when data update, but ExpertOption look so smooth :( 
   see: https://imgur.com/a/WMFliW2
   
   I think it need an animation from left ( original x,y ) to right ( new x,y )?


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [incubator-echarts] JasonXDDD edited a comment on issue #13689: dynamic-data line (area) chart doesn't update series with smoothly animation

Posted by GitBox <gi...@apache.org>.
JasonXDDD edited a comment on issue #13689:
URL: https://github.com/apache/incubator-echarts/issues/13689#issuecomment-734673295


   Hi, @plainheart 
   I added it, but the same. https://jsfiddle.net/x4wj8nov/
   
   With see carefully, when the 1st series (line chart) before 2nd series ( scatter point ), line chart cannot update data with smoothly animation.
   but it is work for data after 2nd series.
   
   see: https://imgur.com/s7iwpVG


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [incubator-echarts] plainheart commented on issue #13689: dynamic-data line (area) chart doesn't update series with smoothly animation

Posted by GitBox <gi...@apache.org>.
plainheart commented on issue #13689:
URL: https://github.com/apache/incubator-echarts/issues/13689#issuecomment-734635068


   This probably is just due to the settings for `animation`.
   To specify a better value for update `animation` can make the chart more smooth.
   For example,
   Set [`animationEasingUpdate`](https://echarts.apache.org/en/option.html#animationEasingUpdate) to `linear` and set a proper value for [`animationDurationUpdate`](https://echarts.apache.org/en/option.html#animationDurationUpdate).
   
   


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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