antvis / antvis/G2

[Bug]: view 模式图表配置异常

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

Description

### Describe the bug / 问题描述

Children 中后面 Mark 的配置会覆盖前者的配置,外层 Legend 的配置会覆盖 Children 中的 Legend。

**期望**: Mark 之间的配置独立,内层配置优于外层

Image

### Reproduction link / 复现链接

_No response_

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

_No response_

### 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

The issue names no files, tests, or reproduction link. Start by reproducing the view-mode chart configuration problem, then trace how Mark and Legend options are merged; done means Mark configurations remain independent and inner Legend settings take precedence over outer settings.

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
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.