apache / echarts

Apache ECharts is a powerful, interactive charting and data visualization library for browser
https://echarts.apache.org
Apache License 2.0
60.46k stars 19.61k forks source link

[Bug] 饼状图 可滚动图例 legend设置itemHeight<=12时,图例对应的文字显示不全 #17804

Open 0123-6 opened 2 years ago

0123-6 commented 2 years ago

Version

v5.4.0

Link to Minimal Reproduction

No response

Steps to Reproduce

image

Current Behavior

可滚动图例 legend设置itemHeight<=12时,图例对应的文字显示不全

Expected Behavior

无论legend设置多少,文字都不被遮挡

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

echarts-bot[bot] commented 2 years ago

@0123-6 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] Pie chart scrollable legend When legend is set itemHeight<=12, the text corresponding to the legend is not displayed completely **BODY** ### Version v5.4.0 ### Link to Minimal Reproduction _No response_ ### Steps to Reproduce ![image](https://user-images.githubusercontent.com/41484174/197128608-82e8a99c-bfb6-4e10-b868-08c676759051.png) ### Current Behavior Scrollable legend When legend sets itemHeight<=12, the text corresponding to the legend is not displayed completely ### Expected Behavior No matter how much the legend is set, the text is not blocked ### Environment ````markdown - OS: - Browser: - Framework: ```` ### Any additional comments? _No response_
github-actions[bot] commented 3 days ago

This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.