antvis / antvis/G2Plot

🐛 [BUG]双轴图坐标轴最值设置为负值时不生效

Open
#3,332 1 comment 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]
双轴图坐标轴最值设置为负值时不生效

* _Required_ **Link to minimal reproduction**:
https://codesandbox.io/s/43339o
### 📷 Step to reproduce
在代码中设置minLimit或maxLimit为负值
### 🏞 Expected result
负值生效
### 🚑 Any additional [like screenshots]

* **G2Plot Version**:
* **Platform**:

Contributor guide

Open the contributing guide

Research direction

Start with the linked CodeSandbox and reproduce the dual-axis chart using negative minLimit or maxLimit values. Trace how those axis limits are handled in the chart configuration; the issue is done when negative bounds take effect as expected.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.