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

5.0版本坐标轴如何设置最大最小值 #5959

Closed
DontChooseAnthor opened this issue Dec 20, 2023 · 1 comment
Closed

5.0版本坐标轴如何设置最大最小值 #5959

DontChooseAnthor opened this issue Dec 20, 2023 · 1 comment

Comments

@DontChooseAnthor
Copy link

问题描述

通过阅读官方文档后,发现无配置axis组件最大最小值的参数;当折线图数据为0时,会显示一条在坐标轴中间的线段,如何通过设置0值在最低点,让折线贴合坐标轴

重现链接

No response

重现步骤

No response

预期行为

No response

平台

  • 操作系统: [macOS, Windows, Linux, React Native ...]
  • 网页浏览器: [Google Chrome, Safari, Firefox]

屏幕截图或视频(可选)

No response

补充说明(可选)

No response

@pearmini
Copy link
Member

.scale('y', { domain:[0, 1]})

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