BizCharts icon indicating copy to clipboard operation
BizCharts copied to clipboard

4.1.7 onLineClick and onClick disabled

Open yayapao opened this issue 4 years ago • 5 comments

BizCharts Version: 4.1.7 Platform: MacOS forck and create a demo: https://bizcharts.net/product/BizCharts4/demo/306

  1. when set <Line shape="smooth"> , onLineClick will be disabled;
  2. when set <Interaction type="brush-x" />, onLineClick will be disabled and onClick can only run once!

yayapao avatar Feb 27 '21 07:02 yayapao

https://bizcharts.net/gist/2J0XHjlt7SR

Leannechn avatar Mar 08 '21 03:03 Leannechn

image 请提供一个复现的demo。这边测试正常

Leannechn avatar Mar 08 '21 03:03 Leannechn

image 请提供一个复现的demo。这边测试正常

https://bizcharts.net/gist/2J0XHjlt7SR , 我设置了 shape="smooth" 之后,onLineClick 事件不再生效,click 事件可以生效一次,可能和近期 curve/bizer 文件改动有关

yayapao avatar Mar 08 '21 10:03 yayapao

https://bizcharts.net/gist/2J2FfANFJdm 当设置了 Interaction type="brush-x",onLineClick 事件几乎不再响应

yayapao avatar Mar 08 '21 10:03 yayapao

4.1.14 同样遇到了这个问题,只有第一次点击有响应

Kevin9703 avatar Nov 16 '21 10:11 Kevin9703