antvis / antvis/G2

[Bug]: facetRect中使用双轴图的时候设置比例尺 {independent: true} 不生效

Open
#6,880 0 comments 0 reactions 0 assignees View on GitHub
bug 🐛 OSCP
Dominant language
TypeScript
Stars
12.6k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

### Describe the bug / 问题描述

facetRect中使用双轴图,interval和line对应的数据量级不同,使用不同的比例尺不生效

![Image](https://github.com/user-attachments/assets/2db20944-1947-412b-83b1-235aa379dbc3)

### Reproduction link / 复现链接

_No response_

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

_No response_

### Version / 版本

Please select / 请选择

### OS / 操作系统

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

### Browser / 浏览器

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

Contributor guide

Open the contributing guide

Research direction

The issue concerns facetRect with a dual-axis interval and line chart using independent: true, but it provides no reproduction link, version, source file, or test. Start by reproducing the reported scale mismatch in facetRect and trace how independent scales are handled; done means the interval and line use separate appropriate scales in the dual-axis case.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.