坐标轴刻度值配合缩略轴异常
- Dominant language
- TypeScript
- Stars
- 12.6k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
### 问题描述
G2 V5.0
1. 坐标轴刻度值过长,设置 rotate 同时开启缩略轴,刻度值会遮挡缩略轴,且拖动缩略轴时 rotate 被重置
2. 为了解决遮挡尝试配置刻度值缩略,但拖动缩略轴时 rotate 及缩略效果都失效了
3. 刻度值缩略后,hover 刻度值时没有 tootltip 展示完整的刻度值,G2 V4.0 是有这个功能的
### 重现链接
https://codesandbox.io/p/sandbox/zen-marco-x5yps4?file=%2Findex.ts%3A32%2C5
### 重现步骤
_No response_
### 预期行为
_No response_
### 平台
- 操作系统: [macOS, Windows, Linux, React Native ...]
- 网页浏览器: [Google Chrome, Safari, Firefox]
### 屏幕截图或视频(可选)
### 补充说明(可选)
_No response_
Contributor guide
Research direction
Start with the reproduction at the linked CodeSandbox, especially index.ts around line 32, and reproduce the long axis labels with rotation, axis shortening, and the thumbnail axis enabled. Trace the behavior while dragging the thumbnail axis and compare it with the stated G2 V4 behavior. Done means rotation and shortening persist during dragging, labels do not overlap the thumbnail axis, and hovering a shortened label shows its full value.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100