Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] 设置minShowLabelAngle后,通过legend控制显示状态,labelLine无法正常隐藏 #17507

Closed
tryhank opened this issue Aug 12, 2022 · 2 comments · Fixed by #17412

Comments

@tryhank
Copy link

tryhank commented Aug 12, 2022

Version

5.3.0

Link to Minimal Reproduction

https://codepen.io/tryhank/pen/MWVqGEE

Steps to Reproduce

  • 创建饼图 配置series.minShowLabelAngle = 35,图表正常
  • 点击legend控制图例显示状态
  • 数据变化后小于35度的图例label隐藏,labelline显示

Current Behavior

labelLine不能正常隐藏

Expected Behavior

labelLine正常隐藏

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

目前通过patch-package修改后使用
image

@tryhank tryhank added the bug label Aug 12, 2022
@echarts-bot echarts-bot bot added the pending We are not sure about whether this is a bug/new feature. label Aug 12, 2022
@echarts-bot
Copy link

echarts-bot bot commented Aug 12, 2022

@tryhank It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗

TRANSLATED

TITLE

[Bug] After setting minShowLabelAngle, the display state is controlled by legend, and the labelLine cannot be hidden normally

BODY

Version

5.3.0

Link to Minimal Reproduction

https://codepen.io/tryhank/pen/MWVqGEE

Steps to Reproduce

  • Create pie chart Configure series.minShowLabelAngle = 35, the chart is normal
  • Click on the legend control legend to display the status
  • The legend of the data change less than 35 degrees after the label is hidden, the labelline is displayed

Current Behavior

LabelLine does not hide properly

Expected Behavior

LabelLine is normally hidden

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

It is currently used after modification by patch-package
image

@tryhank tryhank closed this as completed Aug 12, 2022
@tryhank
Copy link
Author

tryhank commented Aug 12, 2022

新版已修复,同#17013

@plainheart plainheart added resolved topic: pie and removed pending We are not sure about whether this is a bug/new feature. labels Aug 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants