-
Notifications
You must be signed in to change notification settings - Fork 194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛透视表数据较多时,频繁滚动会导致栈溢出错误 #2771
Comments
什么使用场景会一直滑动 1-2 分钟? |
当图表数据量比较大,可能就会存在频繁滚动的情况 |
近期看一下这个问题 |
底层渲染引擎 G 的问题 antvis/G#1712, 等待 G 修复 |
G 没人关注啊 这个好久了,有没有什么临时解决方案 |
把官方例子下下来,修改依赖中的g-lite包的源码,找到 Canvas.prototype.render,源代码如下: 修改后如下: 解决思路: |
🏷 Version
Sheet Type
🖋 Description
当视表数据较多时,左右或者上下频繁滚动,会导致栈溢出错误。源码@antv/s2-v2.0.0-next.23分支,100w 数据 示例即可复现。
官网示例 100w条数据性能表现-透视表 也可复现。
🔗 Reproduce Link
https://s2.antv.antgroup.com/examples/case/performance-compare#pivot
🤔 Steps to Reproduce
电脑配置如下:
持续滚动60-120s左右就会报错
😊 Expected Behavior
😅 Current Behavior
💻 System information
The text was updated successfully, but these errors were encountered: