antvis / antvis/G2Plot

🐛 [BUG] 散点图y轴数据量过大时,autohide:false不生效,隔行显示label, 不能全部显示,需求全部展示

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

yAxis: {
nice: true,
animate: false,
label:{
autoHide: false,
autoRotate: false,
autoEllipsis: true,
allowOverlap: true,
style: {
fontSize: 12,
fill: '#333'
},
已经添加了如上配置,y轴数量大概500条左右

Contributor guide

Open the contributing guide

Research direction

Start by reproducing a scatter chart with roughly 500 y-axis labels and the reported yAxis.label settings, especially autoHide: false and allowOverlap: true. Inspect how y-axis labels are rendered and verify that the completed change displays all labels instead of alternating rows.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.