antvis/G2

给annotation的region绑定点击事件,获取的event对象中的start和end与传入的start和end不同。 #2820

Echo-pain-killer posted onGitHub

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

Edit on CodeSandbox

Steps to reproduce

使用annotation().region()绘制区域,给区域绑定点击事件,在得到的event对象中获取开始和结束时间,发现和传入的不一致

Environment Info
g2 4.0.15
System window10
Browser chorme版本 80.0.3987.132(正式版本) (64 位)

期望获取的时间和传入的时间能一致

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


Fund this Issue

$0.00
Funded

Pull requests