antvis / antvis/G2Plot

🐛 [BUG]开启x轴label的autoRotate并开启缩略轴后,缩略到一定程度label会与缩略轴重叠

Open
#3,466 2 comments 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

复现案例:https://codesandbox.io/s/gracious-firefly-ibffzs?file=/index.ts

在大多数图表中必现,具体缩略轴复现位置在x轴label触发旋转的临界。

![screenshot-20230209-170456](https://user-images.githubusercontent.com/58316364/217766358-218c62e4-2bb0-49dd-a70e-8a559265eb7e.png)

Contributor guide

Open the contributing guide

Research direction

Start with the linked CodeSandbox reproduction in index.ts and trigger x-axis label rotation while zooming the thumbnail axis to the reported threshold. Trace the chart behavior around autoRotate and the thumbnail axis, then verify that labels no longer overlap the thumbnail axis in the reproduction and across the affected charts.

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
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.