apache / apache/echarts

[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

Open
#21,461 0 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

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

```markdown
- OS:macOS Sonoma 14.6.1
- Browser: Chrome 143.0.7499.170
- 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.