apache / apache/echarts

[Bug] Issue with Grid Padding When Multiple Y-Axes are Used

Open
#20,251 2 comments 0 reactions 0 assignees View on GitHub
bug en pending
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

### Version

5.3.2

### Link to Minimal Reproduction

https://codesandbox.io/s/spn43j

### Steps to Reproduce

Create a chart with multiple Y-axes.
Set specific grid padding values for the left and right in %.
Observe the padding behavior in the rendered chart.

### Current Behavior

The grid padding is auto-adjusted, ignoring the specified values, which causes unexpected spacing and alignment issues.

### Expected Behavior

The grid should respect the specified padding values for the left and right sides, regardless of the number of Y-axes used.

### Environment

_No response_

### Any additional comments?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.