antvis/G2


The issue has been closed
[v5]点击 Legend 过滤后,再点击恢复时,漏斗图取nextPoints错误 #4877
shield2018 posted onGitHub
代码位置:
1214行
const value = { ...v, shape, mark: markType, defaultShape, index };
value的index被设置为外层index。恢复过滤时,index为0。
出现以下问题: funnel 漏斗图,计算四边形位置时,会使用index获取nextpoint,如下:
const { index } = value;
const nextPoints = point2d[index + 1];
导致取到的下一个点坐标错误