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/12/28 13:10:42 UTC

[GitHub] [incubator-echarts] kuige opened a new issue #13891: getDataURL not working on tree

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


   ### Version
   5.0.0
   
   ### Reproduction link
   [https://codepen.io/sange/pen/eYdygMX](https://codepen.io/sange/pen/eYdygMX)
   
   ### Steps to reproduce
   Open the minimal reproduction link, scroll down and see a blank image.
   
   ### What is expected?
   The image which src is the result of `getDataURL`, should not be blank.
   
   ### What is actually happening?
   The image which src is the result of `getDataURL` is blank.
   
   <!-- 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] kuige closed issue #13891: getDataURL not working on tree

Posted by GitBox <gi...@apache.org>.
kuige closed issue #13891:
URL: https://github.com/apache/incubator-echarts/issues/13891


   


----------------------------------------------------------------
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] echarts-bot[bot] commented on issue #13891: getDataURL not working on tree

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


   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] [incubator-echarts] plainheart commented on issue #13891: getDataURL not working on tree

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


   It shouldn't call `getDataURL` immediately after `setOption` for the rendering is asynchronized.
   Instead, we should listen to the [`finished`](https://echarts.apache.org/next/en/api.html#events.finished) event like this,
   ```js
   myChart.on('finished', function() {
       img.src = myChart.getDataURL();
   });
   ```


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