antvis/G2

[Feature missing] 在4.0版本中,scale-linear的minTickInterval属性缺失 #2107

JamesChenX posted onGitHub

  • G2 Version: 4.0
  • Platform: Chrome v80.0.3987.116
  • Mini Showcase(like screenshots): image
  • CodePen Link: No

<!-- Enter your issue details below this comment. -->

在3.X版本中,scale的linear类型具有minTickInterval属性,可以用来设置tick的最小间距。但在4.0中,此属性无法生效,并且在下述文档中也并没有提及替代其实现的方法。

https://g2.antv.vision/zh/docs/manual/concepts/data-and-scales/#%E6%95%B0%E6%8D%AE%E7%B1%BB%E5%9E%8B%E4%B8%8E%E5%BA%A6%E9%87%8F-scale


Fund this Issue

$0.00
Funded

Pull requests