We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
获取饼图点击时对应的数据,目前只能通过 getSnapRecords 来获取,但是由于通用的逻辑都是通过 x 轴的位置来定位点击的最近的数据,而饼图经过了 stack 和 transpose ,所以需要通过 y 轴来判断位置。
所以需要给 getSnapRecords 增加一个参数,不易于理解和使用。
3.0 中这个接口报错。
通过绑定事件获取画布上的点,最好能在chart 上提供一个方法
The text was updated successfully, but these errors were encountered:
fix(chart): fixed bug of #15, getSnapRecords of pie
9b0169b
Merge pull request #21 from antvis/fix_snap
00f32bc
dxq613
No branches or pull requests
问题
获取饼图点击时对应的数据,目前只能通过 getSnapRecords 来获取,但是由于通用的逻辑都是通过 x 轴的位置来定位点击的最近的数据,而饼图经过了 stack 和 transpose ,所以需要通过 y 轴来判断位置。
所以需要给 getSnapRecords 增加一个参数,不易于理解和使用。
3.0 中这个接口报错。
通过绑定事件获取画布上的点,最好能在chart 上提供一个方法
The text was updated successfully, but these errors were encountered: