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 版本都有这个问题, 带来的问题:
每次 resize 触发的时候,因为 canvas 大小有父容器大小决定,所以 resize 都会导致图形比之前的高度大 5px。
对 canvas 设置 css 样式。
可以在 G 层解决掉,也可以在 G2 层创建 G.Canvas 之后,再设置样式。
The text was updated successfully, but these errors were encountered:
这个应该是一个老问题了。di 中做到自动做了容器大小变化的时候触发 图表 resize,然后在 G2 中图表 resize 又会导致容器大小变化,然后就死循环了。
Sorry, something went wrong.
是否可以在 G 上解决 @dengfuping
暂时业务中设置样式吧~
forcefit设置了还是会死循环,
simaQ
dengfuping
No branches or pull requests
理论上,所有的 G2 版本都有这个问题, 带来的问题:
每次 resize 触发的时候,因为 canvas 大小有父容器大小决定,所以 resize 都会导致图形比之前的高度大 5px。
解决办法:
对 canvas 设置 css 样式。
可以在 G 层解决掉,也可以在 G2 层创建 G.Canvas 之后,再设置样式。
The text was updated successfully, but these errors were encountered: