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

面积堆叠图Y坐标轴的min值为非0时,图表内容会超出坐标轴区域 #4152

Closed
linfan opened this issue Sep 19, 2022 · 1 comment

Comments

@linfan
Copy link

linfan commented Sep 19, 2022

如图所示,设置Y轴min值为1000,整体图表下移并超出了X轴的底线
image

EChartsd的堆叠图没有这个问题
image

@hustcc
Copy link
Member

hustcc commented Dec 6, 2022

设置 limitInPlot = true。

new Chart({
  // ...
  limitInPlot: true,
})

@hustcc hustcc closed this as completed Dec 6, 2022
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

No branches or pull requests

2 participants