antvis / antvis/G2Plot

🐛 [BUG] 使用AntV | G2plot组件中的双折线图 - 多折线组件时,发现的组件BUG问题反馈

Open
#3,630 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描述】
在使用G2plot组件中的双轴图时,如果两组数据源的横坐标范围不一致,会导致横坐标范围较小的折线在坐标系中渲染出的结果会居左对齐显示,但与实际横坐标的刻度不对齐的问题。
相关链接: https://g2plot.antv.antgroup.com/zh/examples/dual-axes/dual-line/#dual-multi-line

Contributor guide

Open the contributing guide

Research direction

Start with the linked G2Plot dual-axes dual-line example and reproduce the case where the two data sources have different x-axis ranges. Trace how the multi-line dual-axis chart maps each series to x-axis positions; done means the shorter-range line aligns with its actual x-axis ticks instead of appearing left-aligned.

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.