apache / apache/echarts

[Bug]Y-axis labels are aligned to the left and coincide with columns. They need to be moved out by margin, but the reserved position of the label is still reserved on the left side (I don't need this reserved position).

Open
#21,140 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

### Version

5.6

### Link to Minimal Reproduction

https://echarts.apache.org/examples/zh/editor.html?code=PYBwLglsB2AEC8sDeAoWszGAG0iAXMgL4A0as2ApgOaXQAmhSp5AHgIKsQDOT569AIZhBhANoAiALIwJJWBIAqAV0pyFAdUr11SgBbLdAMQBOEXQGVhl5dAkBdci3QBPTjybPY3Smcq9YMVR0dGhBAFtKQgkrKjl-DBcQKIUAI0ETeJDYIRFxAFZ5ACYABnkAZgA2eQBGMtg64vqAFkd0IkciIA&_source=echarts-doc-preview

### Steps to Reproduce

1. set containLabel: true,
2. set axisLabel: {
align: 'left',
margin: 100
},
Image

### Current Behavior

My requirement is to keep the label left aligned, but after setting left alignment, there is a large space on the left side of the label

### Expected Behavior

My requirement is to keep the label left aligned, but after setting left alignment, there is a large space on the left side of the label,I don't need it.

### Environment

```markdown
- OS:
- Browser:
- Framework:
```

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