antvis / antvis/G2

It is not possible to set the z-index order for items located in different children in the DualAxis chart

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

Description

### 问题描述

The columns overlap each other, there is no way to set the order of rendering blocks lying in different parent.

### 重现链接

_No response_

### 重现步骤

1. Create a DualAxis chart
2. Add multiple multi axes
3. Select the interval display type
4. Set zIndex for all element

### 预期行为

zIndex is applied to all elements, regardless of which parent it is located in

### 平台

- 操作系统: Windows
- 网页浏览器: Google Chrome

### 屏幕截图或视频(可选)

![image](https://github.com/user-attachments/assets/a8a53871-2b12-4d9f-9d47-8e367785de05)

### 补充说明(可选)

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the DualAxis chart with multiple axes, interval elements, and different zIndex values in Chrome. Trace how rendering order is handled across different parent elements; done means zIndex controls the stacking order consistently across all elements.

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.