Skip to content
New issue

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

请问5.x的padding:'auto' 不生效了吗? #6526

Open
imyuxh opened this issue Nov 20, 2024 · 0 comments
Open

请问5.x的padding:'auto' 不生效了吗? #6526

imyuxh opened this issue Nov 20, 2024 · 0 comments

Comments

@imyuxh
Copy link

imyuxh commented Nov 20, 2024

问题描述

5.x不论是省略padding不写,还是padding:auto,都不生效了,只会给我的图表区域加一个默认的padding:30。可是这个功能不是在4.x支持郝豪的吗?

重现链接

No response

重现步骤

No response

预期行为

我期望能够根据我的axis的label宽度,自动调节padding大小,但是没有,只给了我默认的30

平台

  • 操作系统: [macOS]
  • 网页浏览器: [Google Chrome]
    -"@antv/g2": "^5.2.8",

屏幕截图或视频(可选)

No response

补充说明(可选)

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant