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 2021/08/23 06:25:57 UTC

[GitHub] [echarts] Ovilia opened a new issue #15581: fix(line): line chart animation is not replayed when calling setOption twice

Ovilia opened a new issue #15581:
URL: https://github.com/apache/echarts/issues/15581


   ### Version
   5.1.2
   
   ### Steps to reproduce
   ```js
   option = {
       xAxis: {
           type: 'category',
           boundaryGap: false,
           data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
       },
       yAxis: {
           type: 'value'
       },
       series: [{
           id: 'a',
           data: [820, 932, 901, 934, 1290, 1330, 1320],
           type: 'line',
           areaStyle: {}
       }],
       animationDuration: 5000,
       animationDurationUpdate: 5000
   };
   
   setTimeout(function() {
       option.series.id = 'b';
       myChart.setOption(option);
   }, 1000);
   ```
   
   ### What is expected?
   Line animation is played from the begining after 1 second.
   
   ### What is actually happening?
   Immediately go to end of 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.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

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] [echarts] pissang closed issue #15581: fix(line): line chart animation is not replayed when calling setOption twice

Posted by GitBox <gi...@apache.org>.
pissang closed issue #15581:
URL: https://github.com/apache/echarts/issues/15581


   


-- 
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: commits-unsubscribe@echarts.apache.org

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