apache / apache/echarts

[Bug] yAxis axisLabel width

Open
#20,425 3 comments 1 reaction 0 assignees View on GitHub
en support topic: axis waiting-for: author
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

### Version

5.5.1

### Link to Minimal Reproduction

https://codesandbox.io/p/sandbox/agitated-nova-hrm3w5?file=%2Fsrc%2FApp.js%3A10%2C18

### Steps to Reproduce

If I have multiple charts stacked vertically with the same X-axis and different Y-axis values, the charts won't be aligned due to the other Y-axis width. I'm using https://echarts.apache.org/en/option.html#yAxis.axisLabel.width to manually set a specific width on all the charts, but I'm not getting the expected behaviour.
image

### Current Behavior

yAxis axisLabel width does not respect https://echarts.apache.org/en/option.html#yAxis.axisLabel.width

### Expected Behavior

yAxis axisLabel should be set width https://echarts.apache.org/en/option.html#yAxis.axisLabel.width

### Environment

```markdown
- OS: macOS 15.0.1
- Browser: Chrome 129.0.6668.91
- Framework: Remix
```

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