🐛 [BUG] g2plot 2.x 箱型图组件 异常值分布及值标签显示问题
- 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]
1. 异常值问题,当只有一条或两条数据中有异常值 outliers配置时,异常值分布位置异常
2. 值标签不管现实谁,都在异常值上方
3. 复现地址:https://codesandbox.io/s/serene-thompson-r09m4?file=/index.ts:142-150


* **G2Plot Version**: 2.3.39
* **Platform**: g2plot 2.x
Contributor guide
Research direction
Start with the reproduction in the linked CodeSandbox, especially index.ts around lines 142-150, and verify the outlier positions and value-label placement for one- and two-point datasets. Compare the observed box plot against the expected distribution and label location; done means both behaviors are corrected for the reported configuration and the reproduction no longer shows the issue.
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