antvis/G2

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

DontChooseAnthor posted onGitHub

问题描述

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

重现链接

No response

重现步骤

No response

预期行为

No response

平台

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

屏幕截图或视频(可选)

No response

补充说明(可选)

No response


.scale('y', { domain:[0, 1]})
posted by pearmini over 1 year ago

Fund this Issue

$0.00
Funded

Pull requests