We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
You can continue the conversation there. Go to discussion →
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
柱状图值为0时不显示,也不显示tooltip
data数据为 [ { year: '2023-01-01', sales: 110, }, { year: '2023-02-01', sales: 450, }, { year: '2023-03-01', sales: 560, }, { year: '2023-04-01', sales: 0, }, { year: '2023-05-01', sales: 0, }, { year: '2023-06-01', sales: 0, }, ];
No response
The text was updated successfully, but these errors were encountered:
.style('minHeight', 5)
为 0 的时候,数据映射成图形高度就是 0,符合预期的,如果实在需要显示出来,按照上面的配置。
Sorry, something went wrong.
No branches or pull requests
问题描述
柱状图值为0时不显示,也不显示tooltip
data数据为
[
{
year: '2023-01-01',
sales: 110,
},
{
year: '2023-02-01',
sales: 450,
},
{
year: '2023-03-01',
sales: 560,
},
{
year: '2023-04-01',
sales: 0,
},
{
year: '2023-05-01',
sales: 0,
},
{
year: '2023-06-01',
sales: 0,
},
];
重现链接
No response
重现步骤
No response
预期行为
No response
平台
屏幕截图或视频(可选)
No response
补充说明(可选)
No response
The text was updated successfully, but these errors were encountered: