apache / apache/echarts

[Bug] funnel.labelLayout set x,y and change legend display, label position abnormal

Open
#17,931 0 comments 0 reactions 0 assignees View on GitHub
bug en topic: label
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

### Version

5.4.0

### Link to Minimal Reproduction

[Demo](https://echarts.apache.org/examples/zh/editor.html?c=line-simple&version=5.4.0&code=PYBwLglsB2AEC8sDeAoWsA2BTA5l6AJgFzIC-ANGrAM5YBOEW1JA2lequl7NAIYC2WEgHIAYgFdo0LBmGVu6MAE8QQ2MIBmk6bPkKMvAEYySnBehDBqESDBEMcACzBz2CgMbAMwOiIDEACwAosHBwm7oFBGYRjIAMrxKwOJgABQgvHQC1ACUyNHodFhg4nRwZuboAB4kGVn81AB0Re5gjVWwANSwAIwADHqVsEq1mdnNWK2NSl2wdeMtbY5YEE5gsAD0sABMg5UAbvSQ7rwYAIIYq9Ai_BAEBNiuQ-inVyLYGi4FsKQA3NFRcwEXhgXisb5IWD7U7iNQANgGPAEamEADUINYXD89txIdCMLCSABmRF8QQiACS0AAjuIIHQlMJsRCoTC1P1yEjyeoAPJ0Aj0JmAyp4tkkAAcpORIgAwpd3ABrIU4riignsvpS7nCADKjmAAHchdEALpuUhUM1_IA)

### Steps to Reproduce

1、click legend item change legend display.
2、label position abnormal

### Current Behavior

label position abnormal
![image](https://user-images.githubusercontent.com/41674118/202351281-bd8d13f3-48b2-45ac-b7ba-547ccf654492.png)

### Expected Behavior

![image](https://user-images.githubusercontent.com/41674118/202351222-4d6a043a-f2b8-4e06-b53a-befa2c30da96.png)

### Environment

```markdown
- OS:
- Browser:
- 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.