antvis/G2

地图图表中getXY获取到的坐标为NaN #3359

pigjs posted onGitHub

例子如下: const point = chart.getXY(data[0]) chart.showTooltip(point)

其中获取到的point坐标为NaN,在其他图表中能正常获取的


如果用了 view,需要在对应的 view 调用:

view.getXY(data);
posted by maplor about 4 years ago

如果用了 view,需要在对应的 view 调用:

view.getXY(data);

没用到view,还是NaN

posted by psyprogrammer almost 3 years ago

Fund this Issue

$0.00
Funded

Pull requests