mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Bar chart should start from zero (#16815)
This commit is contained in:
parent
9a116d4022
commit
381c9f97d6
@ -166,7 +166,7 @@ class StatisticsChart extends LitElement {
|
||||
},
|
||||
},
|
||||
y: {
|
||||
beginAtZero: false,
|
||||
beginAtZero: this.chartType === "bar",
|
||||
ticks: {
|
||||
maxTicksLimit: 7,
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user