antvis / antvis/G2Plot

🐛 [BUG] 密度热力图 无法使用函数式设置color

Open
#3,450 1 comment 0 reactions 0 assignees View on GitHub
Bug
Dominant language
TypeScript
Stars
2.7k
Forks
591
PR merge metrics
No merged PRs in 30d

Description

### 🐛 Bug description [Please make everyone to understand it]

> Please provide a link by forking these links [G2Plot](https://codesandbox.io/s/g2plot-issue-template-gzfdq?file=/index.ts) or GitHub repo, a minimal reproduction.
![image](https://user-images.githubusercontent.com/33052129/212622779-bf90548e-edd7-4b41-8ac7-0d22d4f66095.png)

* _Required_ **Link to minimal reproduction**:
https://codesandbox.io/s/silly-water-7on9vt?file=/index.ts
### 📷 Step to reproduce

### 🏞 Expected result

### 🚑 Any additional [like screenshots]

* **G2Plot Version**:
* **Platform**:

Contributor guide

Open the contributing guide

Research direction

Start with the linked CodeSandbox minimal reproduction in index.ts and inspect how the density heatmap processes its color setting. Reproduce the failure, then verify that a functional color configuration works as expected in the same example.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.