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/03/29 06:45:51 UTC

[GitHub] [echarts] tok-gogogo opened a new issue #14548: animation is ineffective when using echarts on node-canvas

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:
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] tok-gogogo commented on issue #14548: animation is ineffective when using echarts on node-canvas

Posted by GitBox <gi...@apache.org>.
tok-gogogo commented on issue #14548:
URL: https://github.com/apache/echarts/issues/14548#issuecomment-811745403


   I switch to using headless browser, everything is OK


-- 
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] [echarts] tok-gogogo commented on issue #14548: animation is ineffective when using echarts on node-canvas

Posted by GitBox <gi...@apache.org>.
tok-gogogo commented on issue #14548:
URL: https://github.com/apache/echarts/issues/14548#issuecomment-811746732


   I switch to using headless browser, everything is OK


-- 
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] [echarts] tok-gogogo closed issue #14548: animation is ineffective when using echarts on node-canvas

Posted by GitBox <gi...@apache.org>.
tok-gogogo closed issue #14548:
URL: https://github.com/apache/echarts/issues/14548


   


-- 
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] [echarts] echarts-bot[bot] commented on issue #14548: animation is ineffective when using echarts on node-canvas

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #14548:
URL: https://github.com/apache/echarts/issues/14548#issuecomment-809116020


   Hi! We've received your issue and please be patient to get responded. 🎉
   The average response time is expected to be within one day for weekdays.
   
   In the meanwhile, please make sure that **you have posted enough image to demo your request**. You may also check out the [API](http://echarts.apache.org/api.html) and [chart option](http://echarts.apache.org/option.html) to get the answer.
   
   If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical question.
   
   If you are interested in the project, you may also subscribe our [mailing list](https://echarts.apache.org/en/maillist.html).
   
   Have a nice day! 🍵


-- 
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] [echarts] tok-gogogo removed a comment on issue #14548: animation is ineffective when using echarts on node-canvas

Posted by GitBox <gi...@apache.org>.
tok-gogogo removed a comment on issue #14548:
URL: https://github.com/apache/echarts/issues/14548#issuecomment-811745403


   I switch to using headless browser, everything is OK


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