antvis/G2

point 图形下触发tooltip是否可以增加基于轴的逻辑 #4049

meyergin posted onGitHub

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

What problem does this feature solve?

point图形现在鼠标触发的逻辑是靠近点,是否可以增加基于x或者y轴的触发,类似line图形的逻辑,用于cat等非散点的分类点展现

What does the proposed API look like?

比如增加TooltipCfg.positon, 支持(x,y)点,(x)和(y)轴

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


这个在新版 G2 5.0会支持,旧版暂时没计划。这边可以给方案指导,自己去做一下

posted by visiky almost 3 years ago

Fund this Issue

$0.00
Funded

Pull requests