Skip to content
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

3d柱图数据大的时候有什么优化的方式吗 #2080

Open
fishhotter opened this issue Nov 23, 2023 · 2 comments
Open

3d柱图数据大的时候有什么优化的方式吗 #2080

fishhotter opened this issue Nov 23, 2023 · 2 comments

Comments

@fishhotter
Copy link

问题描述

使用3d柱图数据,颜色和高度都是动态的。目前数据在6000-10000条,页面页面出现明显卡顿;10s左右;
new PointLayer({ zIndex: 10 })
.source([], {
parser: {
type: 'json',
y: 'y',
x: 'x'
}
})
.animate(false)
.active(true)
.shape('hexagonColumn')
.style({
lightEnable: true
})
.color('color');

重现链接

No response

重现步骤

这部分性能有优化的空间吗

预期行为

希望渲染速度能提升

平台

  • 操作系统:Windows
  • 网页浏览器: Google Chrome

屏幕截图或视频(可选)

No response

补充说明(可选)

No response

@lzxue
Copy link
Contributor

lzxue commented Nov 23, 2023

大部分是不是数据加载的时间

@fishhotter
Copy link
Author

大部分是不是数据加载的时间

不是哦,是会先请求数据画平面的图,3d柱状图隐藏,点按钮切换显示3d柱状图,切换就会很明显的卡顿。渲染会卡耗时也比较长。接口数据耗时在1-2.5s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants