antvis/G2





The issue has been closed
折线图添加brush交互后,线点击事件只能触发一次,之后再也不可以触发 #3705
observerzy posted onGitHub
- I have searched the issues of this repository and believe that this is not a duplicate.
Reproduction link
https://g2.antv.vision/zh/examples/case/line#line8
Steps to reproduce
折线图添加代码chart.interaction('brush')
chart.on("line:click",()=>{
console.log("click line")
})
Environment | Info |
---|---|
g2 | 4.1.32 |
System | mac |
Browser | chrome |
设置了brush后,图表上line:click、plot:click事件触发一次后就不再触发,但是其mouseenter事件正常
<!-- generated by antv-issue-helper. DO NOT REMOVE -->