tok-gogogo opened a new issue #14548:
URL: https://github.com/apache/echarts/issues/14548


   ### Version
   5.0.2
   
   ### Steps to reproduce
   like this:
   const { createCanvas } = require("canvas");
   const echarts = require('echarts');
   const canvas = createCanvas(300, 300);
   echarts.setCanvasCreator(() => canvas);
   const chart = echarts.init(canvas, 'dark');
   var option = {
           animationDuration:5000,
           animation:true,
           xAxis: {
               type: 'category',
               data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
           },
           yAxis: {
               type: 'value'
           },
           series: [{
               data: [150, 230, 224, 218, 135, 147, 260],
               type: 'line'
           }]
       };
       
   chart.setOption(option);
   console.log(canvas.toDataURL());
   
   ### What is expected?
   animation is effective
   
   ### What is actually happening?
   The image  i get is at the end of the animation, not in the animation
   
   ---
   i tried antv, and the animation is effctive
   
   <!-- 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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to