containLabel not working as expected
- Dominant language
- TypeScript
- Stars
- 67.3k
- Forks
- 19.8k
- Avg merge
- 11d 14h
- Merged PRs (30d)
- 8
Description
### Version
5.1.2
### Reproduction link
[https://codepen.io/ataft/pen/eYWqzqx](https://codepen.io/ataft/pen/eYWqzqx)
### Steps to reproduce
https://codepen.io/ataft/pen/eYWqzqx
https://codepen.io/ataft/pen/dyWxpyG
### What is expected?
When `containLabel = true` and grid `left, right, top, bottom` are all set to 0, I expect the axis labels to show completely without getting cut off.
### What is actually happening?
As the CodePen's show, labels are being cut off, especially in the top-left and bottom-right "ends" of the axes.
---
`containLabel `is a very important feature if it can work correctly. Manually setting grid left, right, top, bottom is tedious/impossible, and leads to a lot of unnecessary whitespace.
Contributor guide
Assessment
This issue has not been assessed yet.