Bar chart should start from zero (#16815)

This commit is contained in:
karwosts 2023-06-27 08:21:23 -07:00 committed by GitHub
parent 9a116d4022
commit 381c9f97d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -166,7 +166,7 @@ class StatisticsChart extends LitElement {
},
},
y: {
beginAtZero: false,
beginAtZero: this.chartType === "bar",
ticks: {
maxTicksLimit: 7,
},