antvis / antvis/G2Plot

🐛 [BUG]双轴图,轴2的 x 轴错位

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

### 🐛 双轴图,在轴2的数据从中间开始的时候,错位到第一列了。 如DEMO所示。
> https://codesandbox.io/s/inspiring-lake-pqjv55

![image](https://user-images.githubusercontent.com/68458089/171536064-8cc826a1-4b6c-4961-a68e-1aeeb8272fc2.png)

Contributor guide

Open the contributing guide

Research direction

Start with the linked CodeSandbox reproduction and compare the dual-axis chart when the second axis's data begins midway through the x-axis. Trace how the second series is aligned to x-axis categories, then verify that it remains in its intended position rather than shifting to the first column.

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.