antvis / antvis/G2Plot

🐛 [BUG] 自定义 legend marker 某些 symbol 显示不正确

Open
#3,377 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.

* _Required_ **Link to minimal reproduction**:
* [Demo](https://codesandbox.io/s/amazing-dream-wri79c?file=/index.ts:580-641)

### 🏞 Expected result

### 🚑 Any additional [like screenshots]

* **G2Plot Version**:
* **Platform**:
* 异常显示
image

G2 正确显示
image

已知显示异常的内置 symbol:`line` `hexagon` `bowtie` `cross` `tick` `plus` `hyphen`

Contributor guide

Open the contributing guide

Research direction

Open the linked CodeSandbox minimal reproduction and inspect the custom legend marker configuration in index.ts. Compare the rendering of the listed symbols—line, hexagon, bowtie, cross, tick, plus, and hyphen—with the supplied screenshots and G2's correct display. Done means the affected built-in symbols render correctly in 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
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.