mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +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",
|
align: "left",
|
||||||
},
|
},
|
||||||
position: computeRTL(this.hass) ? "right" : "left",
|
position: computeRTL(this.hass) ? "right" : "left",
|
||||||
scale: true,
|
scale:
|
||||||
|
this.chartType !== "bar" ||
|
||||||
|
this.logarithmicScale ||
|
||||||
|
minYAxis !== undefined ||
|
||||||
|
maxYAxis !== undefined,
|
||||||
min: this._clampYAxis(minYAxis),
|
min: this._clampYAxis(minYAxis),
|
||||||
max: this._clampYAxis(maxYAxis),
|
max: this._clampYAxis(maxYAxis),
|
||||||
splitLine: {
|
splitLine: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user