Skip to content

[Bug] When using the moveOverLap attribute for label overlap, the position should remain within the coordinate system, and in some cases, offsets are applied unnecessarily #21461

@linlang171

Description

@linlang171

Version

It has persisted for a long time

Link to Minimal Reproduction

https://codesandbox.io/p/sandbox/echarts-basic-example-template-mpfz1s

Steps to Reproduce

nothing

Current Behavior

1、When using the moveOverLap attribute for label overlap,in some cases, offsets are applied unnecessarily
Image
2、When using the moveOverLap attribute for label overlap,the position don't remain within the coordinate system
Image

Expected Behavior

Offset should only occur when necessary and should not be moved out of the coordinate system it is in

Environment

- OS:macOS Sonoma 14.6.1
- Browser: Chrome 143.0.7499.170
- Framework:-

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugenThis issue is in EnglishpendingWe are not sure about whether this is a bug/new feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions