antvis / antvis/G2Plot

🐛 [BUG]直方图坐标轴标题隐藏属性不生效

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

直方图坐标轴标题隐藏属性不生效,只要坐标轴显示的,标题就始终会显示:

![image](https://github.com/antvis/G2Plot/assets/25897521/89f3a083-69e5-4abd-8a29-28072f30c2ec)
BUG 复现:
https://codesandbox.io/s/delicate-resonance-fmqd7c?file=/index.js

Contributor guide

Open the contributing guide

Research direction

Open the linked CodeSandbox and inspect index.js to reproduce the histogram behavior. Trace the axis-title visibility setting used there and verify how the chart renders when the axis remains visible. Done means the reproduction no longer shows the axis title when its hidden setting is enabled.

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.