Skip to content

fix(projects): adjust legend position in line chart options.#848

Merged
honghuangdc merged 2 commits intosoybeanjs:mainfrom
Azir-11:main
Oct 29, 2025
Merged

fix(projects): adjust legend position in line chart options.#848
honghuangdc merged 2 commits intosoybeanjs:mainfrom
Azir-11:main

Conversation

@Azir-11
Copy link
Copy Markdown
Member

@Azir-11 Azir-11 commented Oct 29, 2025

before:
image

after:
image

@Azir-11
Copy link
Copy Markdown
Member Author

Azir-11 commented Oct 29, 2025

后面那个 commit 是为了解决这个问题:
image

新版的 echarts 里不用containLabel了,直接设置 top 值给 legend 留一点空间就够了

@honghuangdc honghuangdc merged commit 9755c31 into soybeanjs:main Oct 29, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants