🐛 [BUG] g2plot shape 回调参数问题
Open
Bug
Encode
- Dominant language
- TypeScript
- Stars
- 2.7k
- Forks
- 591
- PR merge metrics
- No merged PRs in 30d
Description
shape 回调函数参数的 形状字段 变成了 颜色字段
复现:https://codesandbox.io/s/bold-tree-3dsi5s?file=/index.ts

* **G2Plot Version**: v2.4.16
* **Platform**: g2plot 2.x
Contributor guide
Research direction
Start with the linked CodeSandbox reproduction and inspect how G2Plot v2.4.16 passes parameters to the shape callback. Confirm the callback receives the shape field rather than the color field, then verify the corrected behavior against the reproduction.
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