antvis/G2

如何获取多折线图的点击当前折线的点的数据 #3761

is-cool posted onGitHub

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

Edit on CodeSandbox

Steps to reproduce

我点击一个折线图的单个点,但我拿到的五条数据,我如何可以拿到我点击的点的数据,而不需要其他的数据

Environment Info
g2 4.1.36
System -
Browser -

我点击一个折线图的单个点,但我拿到的五条数据,我如何可以拿到我点击的点的数据,而不需要 <img width="168" alt="截屏2021-12-30 16 43 50" src="https://user-images.githubusercontent.com/78067806/147736032-d8d33f71-3116-49a4-8d5d-671018698e85.png"> <img width="478" alt="截屏2021-12-30 16 43 44" src="https://user-images.githubusercontent.com/78067806/147736037-01e776ba-0ee9-4822-af22-4210d70dac79.png"> 其他的数据

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


Fund this Issue

$0.00
Funded

Pull requests