mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Disable chart update animation (#24084)
This commit is contained in:
parent
56539e8065
commit
172d6c3079
@ -379,6 +379,7 @@ export class StateHistoryChartLine extends LitElement {
|
|||||||
color,
|
color,
|
||||||
symbol: "circle",
|
symbol: "circle",
|
||||||
step: "end",
|
step: "end",
|
||||||
|
animationDurationUpdate: 0,
|
||||||
symbolSize: 1,
|
symbolSize: 1,
|
||||||
lineStyle: {
|
lineStyle: {
|
||||||
width: fill ? 0 : 1.5,
|
width: fill ? 0 : 1.5,
|
||||||
|
@ -308,7 +308,7 @@ export class StatisticsChart extends LitElement {
|
|||||||
},
|
},
|
||||||
grid: {
|
grid: {
|
||||||
...(this.hideLegend ? { top: this.unit ? 30 : 5 } : {}), // undefined is the same as 0
|
...(this.hideLegend ? { top: this.unit ? 30 : 5 } : {}), // undefined is the same as 0
|
||||||
left: 5,
|
left: 1,
|
||||||
right: 1,
|
right: 1,
|
||||||
bottom: 0,
|
bottom: 0,
|
||||||
containLabel: true,
|
containLabel: true,
|
||||||
@ -494,6 +494,7 @@ export class StatisticsChart extends LitElement {
|
|||||||
),
|
),
|
||||||
symbol: "circle",
|
symbol: "circle",
|
||||||
symbolSize: 0,
|
symbolSize: 0,
|
||||||
|
animationDurationUpdate: 0,
|
||||||
lineStyle: {
|
lineStyle: {
|
||||||
width: 1.5,
|
width: 1.5,
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user