antvis / antvis/G2Plot

🐛 [BUG] g2plot 2.x基础对称条形图示例 xAxis label居中居右等设置会导致文字错位

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

g2plot 2.x基础对称条形图示例 xAxis label居中居右等设置会导致文字错位

官方示例: https://g2plot.antv.vision/zh/examples/more-plots/bidirectional-bar#basic

* **G2Plot Version**:2.4.20

![QQ图片20221027171404](https://user-images.githubusercontent.com/44702573/198244600-9380e28f-ea54-4d34-9472-1ebccc46f7ae.png)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue in the official basic bidirectional-bar example at the linked G2Plot URL using G2Plot 2.4.20. Check the xAxis label alignment settings shown in the report and compare the rendered text with the attached screenshot; done means centered and right-aligned labels no longer shift or overlap unexpectedly.

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.