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
代码位置:
G2/src/runtime/plot.ts
Lines 1192 to 1221 in f2a53a9
1214行 const value = { ...v, shape, mark: markType, defaultShape, index };
const value = { ...v, shape, mark: markType, defaultShape, index };
value的index被设置为外层index。恢复过滤时,index为0。
出现以下问题: funnel 漏斗图,计算四边形位置时,会使用index获取nextpoint,如下:
G2/src/shape/interval/funnel.ts
Lines 38 to 50 in f2a53a9
const { index } = value; const nextPoints = point2d[index + 1];
导致取到的下一个点坐标错误
The text was updated successfully, but these errors were encountered:
关注一下
Sorry, something went wrong.
这两天就解决
pearmini
Successfully merging a pull request may close this issue.
代码位置:
G2/src/runtime/plot.ts
Lines 1192 to 1221 in f2a53a9
1214行
const value = { ...v, shape, mark: markType, defaultShape, index };
value的index被设置为外层index。恢复过滤时,index为0。
出现以下问题:
funnel 漏斗图,计算四边形位置时,会使用index获取nextpoint,如下:
G2/src/shape/interval/funnel.ts
Lines 38 to 50 in f2a53a9
导致取到的下一个点坐标错误
The text was updated successfully, but these errors were encountered: