apache / apache/echarts

[Bug] grid.containLabel have problems working with axis.axisLabel.showMinLabel and showMaxLabel

Open
#20,663 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.6.0

### Link to Minimal Reproduction

https://echarts.apache.org/examples/zh/editor.html?c=line-in-cartesian-coordinate-system&code=MYewdgzgLgBATgU2AQwDbALIEswwLwwAUA3jALY4A05yAHjAL4CU-AfOTjALRFl3ccwLAFQwADADoxAVgDcAKFCRYiFOgz8CJQdT71mbGvQDUvfjwpCYoyTIUgADlCzh8MYvJgwAngEFaWBAAXO6eXoIhqmiYVGFeepFI0Rq0lHEwdIEAMsgARgioIR7h4XAgUMhQCCEALNJpJV4QABYgAO7YYDn5hTAAZmgQCA2NLe0p3QUhA6hD6QxhDCO0_oFF6ZaJajFgI_F0W8l0exkBEJO9xY1lFVW19elNrR04F9ODw48wYx10b_0feaLEYAczgWAAJusSlBHCExCdUAg-lB4Sc2pCoM0QgByACMYjEAFIcSdmggsCDmqiYPjCSSTkoKq88lMYFA4ABXBDAsJDcEIYIwADa6SuJQhlWQIV8cDgyG8hAATGImBI-lhUKhCGq-A5CIQAPqULBMPCsYVYE3CJUAXSYJy8UG8DmqtIgKCgVTgOKBXlt8gYsiAA

### Steps to Reproduce

1. turn showMinLabel to false

### Current Behavior

Min Max labels are hidden but still take up space

### Expected Behavior

Min Max label is hidden and does not take up space

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