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/08/20 07:20:47 UTC

[GitHub] [incubator-echarts] CarterLi opened a new issue #13164: Echarts keeps rendering white blanks with large datasets on single canvas mode.

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


   ### Version
   4.8.0
   
   ### Reproduction link
   [https://github.com/CarterLi/echarts-bug](https://github.com/CarterLi/echarts-bug)
   
   ### Steps to reproduce
   1. View the rendered page <https://carterli.github.io/echarts-bug/>
   1. Move mouse on the chart
   
   ### What is expected?
   The chart should work as normal, tooltip should be shown
   
   ### What is actually happening?
   The chart renders white blank
   
   ---
   Originally found when testing my repo: https://github.com/CarterLi/echarts-with-offscreencanvas
   
   I tested several chart types and found only line chart worked as expected. I have been trying to debug this issue for 2 days and only found the issue happens here:
   
   ```js
       _startLoop: function () {
           var self = this;
   
           this._running = true;
   
           function step() {
               if (self._running) {
   
                   requestAnimationFrame(step);
   
                   !self._paused && self._update();
               }
           }
   
           requestAnimationFrame(step);
       },
   ```
   
   Of course it was not true, so I gave up.
   
   The issue is rather important to our company, please help
   
   <!-- 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] CarterLi commented on issue #13164: Echarts keeps rendering white blanks with large datasets on single canvas mode.

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


   Related issue: https://github.com/apache/incubator-echarts/issues/9232
   
   This issue is the only blocking issue that enabling echarts working in web worker, because in a worker echarts can only be running in single canvas mode.


----------------------------------------------------------------
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 #13164: Echarts keeps rendering white blanks with large datasets on single canvas mode.

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


   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 questions.
   
   If you are interested in the project, you may also subscribe our [mail 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] 100pah commented on issue #13164: Echarts keeps rendering white blanks with large datasets on single canvas mode.

Posted by GitBox <gi...@apache.org>.
100pah commented on issue #13164:
URL: https://github.com/apache/incubator-echarts/issues/13164#issuecomment-677624038


   @CarterLi 
   ```js
   option = {
       // Set this to avoid the issue.
       hoverLayerThreshold: Infinity,
       ...     
   };
   ```
   
   ---
   
   And it needs to be fixed that: 
   1. Disable the feature of hover layer in when the root dom is canvas
   2. Make worker case into the `test/**`.
   


----------------------------------------------------------------
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] CarterLi commented on issue #13164: Echarts keeps rendering white blanks with large datasets on single canvas mode.

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


   It works! Thanks @100pah


----------------------------------------------------------------
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] CarterLi edited a comment on issue #13164: Echarts keeps rendering white blanks with large datasets on single canvas mode.

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


   Related issue: https://github.com/apache/incubator-echarts/issues/9232
   
   This issue is the only blocking issue that enabling echarts working in web worker, because in a worker echarts can only be run in single canvas mode.


----------------------------------------------------------------
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 closed issue #13164: Echarts keeps rendering white blanks with large datasets on single canvas mode.

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


   


----------------------------------------------------------------
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] 100pah edited a comment on issue #13164: Echarts keeps rendering white blanks with large datasets on single canvas mode.

Posted by GitBox <gi...@apache.org>.
100pah edited a comment on issue #13164:
URL: https://github.com/apache/incubator-echarts/issues/13164#issuecomment-677624038


   @CarterLi 
   ```js
   option = {
       // Set this to avoid the issue.
       hoverLayerThreshold: Infinity,
       ...     
   };
   ```
   
   ---
   
   And echarts needs to fix that: 
   1. Disable the feature of hover layer in when the root dom is canvas
   2. Make worker case into the `test/**`.
   


----------------------------------------------------------------
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] CarterLi edited a comment on issue #13164: Echarts keeps rendering white blanks with large datasets on single canvas mode.

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


   It works! Thanks @100pah
   
   Echarts in worker demo can be found here: https://carterli.github.io/echarts-with-offscreencanvas/


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