mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Bar charts start from 0 (#24854)
This commit is contained in:
parent
e98721aa76
commit
c7e5be185d
@ -296,7 +296,11 @@ export class StatisticsChart extends LitElement {
|
||||
align: "left",
|
||||
},
|
||||
position: computeRTL(this.hass) ? "right" : "left",
|
||||
scale: true,
|
||||
scale:
|
||||
this.chartType !== "bar" ||
|
||||
this.logarithmicScale ||
|
||||
minYAxis !== undefined ||
|
||||
maxYAxis !== undefined,
|
||||
min: this._clampYAxis(minYAxis),
|
||||
max: this._clampYAxis(maxYAxis),
|
||||
splitLine: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user