Replies: 2 comments
-
related: #4903 |
Beta Was this translation helpful? Give feedback.
0 replies
-
fixed by #5046 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
支持 padding: auto
目前 G2 5.0 的坐标轴会出现溢出的效果,体验非常的不好。#4903
出现原因
G2 出于性能的考虑,padding 的值都有默认值,导致溢出。
解决办法
第一种思路是在 GUI 里面解决,第二种是需要在 G2 中处理。两种办法都用存在的必要,不冲突:
API 设计
实现思路
未来工作
参考
padding: auto
这个 API 和 VegaLite 里面的autosize: { type: 'fit' }
保持一致,目前 G2 策略应该是autosize: { type: 'none' }
。Beta Was this translation helpful? Give feedback.
All reactions