antvis / antvis/L7

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

Open
#2,080 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4.1k
Forks
656
PR merge metrics
No merged PRs in 30d

Description

### 问题描述

使用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_

Contributor guide

Open the contributing guide

Research direction

Start with the PointLayer configuration shown in the issue and reproduce it in Chrome using 6,000–10,000 points with dynamic colors and heights. Measure the roughly 10-second rendering delay and investigate the relevant rendering path. Done means the same dataset renders faster, though the issue does not define a target time or name tests and files.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization, performance
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.