Echarts keeps rendering white blanks with large datasets on single canvas mode.
See original GitHub issueVersion
4.8.0
Reproduction link
https://github.com/CarterLi/echarts-bug
Steps to reproduce
- View the rendered page https://carterli.github.io/echarts-bug/
- 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:
_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
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Echarts keeps rendering white blanks with large datasets on ...
This issue is the only blocking issue that enabling echarts working in web worker, because in a worker echarts can only be run...
Read more >Changelog - Apache ECharts
[Fix] Fix ECharts keeps rendering white blanks with large datasets on single canvas mode #13283. [Fix] Make contentToOption totally optional.
Read more >error : shinyWidgets and plot graph - RStudio Community
... Echarts keeps rendering white blanks with large datasets on single canvas mode. · Issue #13164 · apache/echarts · GitHub.
Read more >How to minimize whitespace around Baidu's echarts
My current solution to add an extra inside the container one and then set it's width and height to be be bigger by...
Read more >Canvas vs. SVG - Best Practices - Handbook - Apache ECharts
Since ECharts v4.0 was released, ECharts provided the SVG render as an ... For larger amounts of data (>1k is an experience value),...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It works! Thanks @100pah
Echarts in worker demo can be found here: https://carterli.github.io/echarts-with-offscreencanvas/
@CarterLi
And echarts needs to fix that:
test/**
.