antvis / antvis/G2Plot

🐛 [BUG] BidirectionalBar axis position error 对称条形图配置 `axis` `position` 显示错误

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

### 🐛 Bug description [Please make everyone to understand it]

> Please provide a link by forking these links [G2Plot](https://codesandbox.io/s/g2plot-issue-template-gzfdq?file=/index.ts) or GitHub repo, a minimal reproduction.

* _Required_ **Link to minimal reproduction**:

![image](https://github.com/antvis/G2Plot/assets/49975575/667c6625-f878-427e-a7a9-c9b0bc132148)
![image](https://github.com/antvis/G2Plot/assets/49975575/384b75e9-e6bb-4870-a06a-71dd50d321ad)
![image](https://github.com/antvis/G2Plot/assets/49975575/24eaf051-3cdf-4240-a93a-2e062920b29a)
![image](https://github.com/antvis/G2Plot/assets/49975575/104eeecf-fa1c-4b39-b1e8-6bee8178ec73)

![image](https://github.com/antvis/G2Plot/assets/49975575/045e811f-46b4-4b7d-8d7b-2ea9397fbd86)
![image](https://github.com/antvis/G2Plot/assets/49975575/4f6c4ffe-4047-4988-8ac3-24c40f170004)

`position: bottom` 不是应该在如图箭头位置吗
![image](https://github.com/antvis/G2Plot/assets/49975575/f2aaf512-1a5e-435f-a45a-574bc972ad4f)

Contributor guide

Open the contributing guide

Research direction

Start with the linked G2Plot CodeSandbox issue template and reproduce the BidirectionalBar configuration using axis position bottom. Compare the rendered axis with the expected arrow position shown in the screenshots; done means the configured position renders at the intended location.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.