antvis/G2

Adjust可能将数据调整到坐标轴有效范围之外 #3791

ouyuran posted onGitHub

  • I have searched the issues of this repository and believe that this is not a duplicate.

Edit on CodeSandbox

Steps to reproduce

如demo, 因为adjust在 /-0.5范围内调整,如果一个data的值正接近scale所定义的min/max,那么此data可能被调整到有效坐标外面。 而且会事实上处于不能响应鼠标的状态。 image

Environment Info
g2 4.1.40
System -
Browser -

<!-- generated by antv-issue-helper. DO NOT REMOVE -->


可以 G2 5.0 是否还有这个问题

posted by pearmini 11 months ago

Fund this Issue

$0.00
Funded

Pull requests