antvis / antvis/G2Plot

🐛 [BUG] 双轴图 设置 autoRotate: true 之后,存在旋转过的x轴文字把图例盖住的情况

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

### 双轴图 设置 autoRotate: true 之后,部分图表存在旋转过的x轴文字把图例盖住的情况

### 📷 Step to reproduce
在xAxis 中 设置 autoRotate
xAxis: {
label: {
autoRotate: true,
autoHide: true,
autoEllipsis: false,
},
},

### 🚑 Any additional [like screenshots]
![31643976390_ pic](https://user-images.githubusercontent.com/55876086/152527678-c85929c5-93d6-49bb-8402-97842155afe4.jpg)
![61643977028_ pic](https://user-images.githubusercontent.com/55876086/152527705-f46c9cde-efad-4dd9-b879-c1ea0ba35c10.jpg)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the dual-axis chart with the shown xAxis label settings, especially autoRotate, autoHide, and autoEllipsis. Trace the chart layout around rotated x-axis labels and the legend; done means rotated labels no longer cover the legend in the reported cases.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.