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
这边应该用 shapeData 里的数据 https://github.com/antvis/g2plot/blob/770b9f64d426da0fa7d520c2250714d2b8893ce6/src/plots/line/animation/clipInWithData.ts#L20 另 同一文件 96 行的 getPositionByRatio 方法可以用 g 里 path.getPoint(ratio) 替换。这样不管是折线还是 smooth 贝塞尔线条都是准的。
getPositionByRatio
path.getPoint(ratio)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
这边应该用 shapeData 里的数据
https://github.com/antvis/g2plot/blob/770b9f64d426da0fa7d520c2250714d2b8893ce6/src/plots/line/animation/clipInWithData.ts#L20
另 同一文件 96 行的
getPositionByRatio
方法可以用 g 里path.getPoint(ratio)
替换。这样不管是折线还是 smooth 贝塞尔线条都是准的。The text was updated successfully, but these errors were encountered: