Open CodeFly16 opened 2 years ago
@CodeFly16 It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗
默认情况下都是完整刷新,如果需要局部刷新,在 init 的时候 useDirtyRect
设为 true
默认情况下都刷新,如果局部需要刷新,在 init 的
useDirtyRect
设为 true
感谢回复 https://codesandbox.io/s/objective-ritchie-9o0o2?file=/src/index.js 这是我在demo链接,这里添加useDirtyRect还是会出现刷新情况
Still meet this bug in v5.3.3
Reproduction:
useDirtyRect
in settingsetTimeout(function() {data[0][2]=1;myChart.setOption(option)}, 3000);
The whole chart is refreshed
即便不改变数据,只是设置别的选项,比如
myChart.setOption({toolbox:{show:true}})
也会让整个图重新绘制。希望至少没有设置data的时候,不要刷新整张图。
这个问题现在有大佬知道怎么做吗
Version
5.22
Link to Minimal Reproduction
No response
Steps to Reproduce
Current Behavior
当前每过1s都会刷新
Expected Behavior
使用setOption改变data后,界面不会刷新,仅仅是数据变化
Environment
Any additional comments?
No response