Skip to content

Axis labels disappears #11112

@AndreyAndreyevich

Description

@AndreyAndreyevich

Version

4.2.1

Reproduction link

https://echarts.apache.org/examples/en/editor.html?c=bar-negative

Steps to reproduce

Keep minimizing window vertically until some of the Y-axis labels will be hidden. Then maximize the window back. Previously hidden labels won't appear.

What is expected?

It is expected that labels non-overlapping behavior depends on window current size.

What is actually happening?

Axis labels visualization corresponds to the minimum window size even if the window is maximized back.


The same issue is for X-axis.

I'm concerned that axisLabel has an 'interval' option, which can be set to 0 and labels will be shown constantly. But this is not a solution and automatic behavior is required.

This behavior may be reproduced on almost every chart of https://echarts.apache.org/examples/en/

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugdifficulty: easyIssues that can be fixed more easily than the average.enThis issue is in Englishpriority: high

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions