antvis / antvis/G2

[Bug]: 仪表盘把Y轴改到内侧后,轴刻度是反的

Open
#7,299 1 comment 0 reactions 0 assignees View on GitHub
bug 🐛 P2
Dominant language
TypeScript
Stars
12.6k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

### Describe the bug / 问题描述

仪表盘把Y轴改到内侧后,轴刻度是反的

Image

### Reproduction link / 复现链接

_No response_

### Steps to Reproduce the Bug or Issue / 重现步骤

官网的示例增加Y轴位置设置就可复现
```
chart.axis('y',{
position:'inner'
})
```

### Version / 版本

🆕 5.x

### OS / 操作系统

- [ ] macOS
- [ ] Windows
- [ ] Linux
- [ ] Others / 其他

### Browser / 浏览器

- [ ] Chrome
- [ ] Edge
- [ ] Firefox
- [ ] Safari (Limited support / 有限支持)
- [ ] IE (Nonsupport / 不支持)
- [ ] Others / 其他

Contributor guide

Open the contributing guide

Research direction

Start with the official chart example and the y-axis configuration using position: 'inner', then trace how that setting affects axis tick rendering. Done means the inner y-axis displays tick values in the correct direction while preserving the expected axis placement.

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
Quiet
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.