Closed pissang closed 3 years ago
As a workaround, the following change works! (Thanks to @pissang )
- chart.setOption({}, false, true);
+ chart.setOption({}, false, false);
This issue is labeled with priority: high
, which means it's a frequently asked problem and we will fix it ASAP.
Version
4.3.0
Steps to reproduce
setOption
with legend unselected in optionsetOption
with delayresize
Full test code:
What is expected?
Chart is displayed properly
What is actually happening?
Throw an error