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

vchart 垂直方向不能居中? #1734

Open
xuyifeiOnly opened this issue May 20, 2024 · 7 comments
Open

vchart 垂直方向不能居中? #1734

xuyifeiOnly opened this issue May 20, 2024 · 7 comments
Assignees

Comments

@xuyifeiOnly
Copy link

我设置了表格的 defaultRowHeight = 40之后,添加了 vchart 垂直方向不能自动居中,是需要配置啥吗?
image

@fangsmile
Copy link
Contributor

image
看下这个示例 @xuyifeiOnly

@fangsmile
Copy link
Contributor

好吧 我理解错了
是vchart的用法是吧 @xile611 看看bar怎么居中配置?

@fangsmile fangsmile self-assigned this May 21, 2024
@xile611
Copy link

xile611 commented May 21, 2024

@xuyifeiOnly 可以加上 padding: 0试试,去除padding

@fangsmile
Copy link
Contributor

https://visactor.io/vtable/demo/cell-type/list-table-chart 这个示例也可以参考

@xuyifeiOnly
Copy link
Author

@xuyifeiOnly 可以加上 padding: 0试试,去除padding

padding设置了,不起作用

@xuyifeiOnly
Copy link
Author

https://visactor.io/vtable/demo/cell-type/list-table-chart 这个示例也可以参考

image 你可以更改一下这个高度,然后就会复现,没有办法居中

@fangsmile
Copy link
Contributor

image
@xuyifeiOnly 加上这个是可以的呀

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

3 participants