Skip to content

containLabel not working as expected #15562

@ataft

Description

@ataft

Version

5.1.2

Reproduction link

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugenThis issue is in English

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions