Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

这个柱状图没有数据的时候就什么都不展示了 #5639

Closed
zhiyou1201 opened this issue Oct 13, 2023 · 1 comment
Closed

这个柱状图没有数据的时候就什么都不展示了 #5639

zhiyou1201 opened this issue Oct 13, 2023 · 1 comment

Comments

@zhiyou1201
Copy link

image

这个柱状图没有数据的时候就什么都不展示了

image

能不能没有数据的时候展示这样的 展示出来图的整体 没有数据也可以 把图的整体展示出来

image

@pearmini
Copy link
Member

当数据为 0 的时候,可以 mock 数据,然后把图形的 style.opacity 设置为 0,同时隐藏 y 轴的 tick

@antvis antvis locked and limited conversation to collaborators Oct 13, 2023
@pearmini pearmini converted this issue into discussion #5640 Oct 13, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants