mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 17:26:42 +00:00
Stack gas and solar sources (#10244)
This commit is contained in:
parent
7488eb782d
commit
9a4cce74f0
@ -175,6 +175,7 @@ export class HuiEnergyGasGraphCard
|
||||
offset: true,
|
||||
},
|
||||
y: {
|
||||
stacked: true,
|
||||
type: "linear",
|
||||
title: {
|
||||
display: true,
|
||||
@ -306,6 +307,7 @@ export class HuiEnergyGasGraphCard
|
||||
borderColor,
|
||||
backgroundColor: borderColor + "7F",
|
||||
data: gasConsumptionData,
|
||||
stack: "gas",
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -168,6 +168,7 @@ export class HuiEnergySolarGraphCard
|
||||
offset: true,
|
||||
},
|
||||
y: {
|
||||
stacked: true,
|
||||
type: "linear",
|
||||
title: {
|
||||
display: true,
|
||||
@ -317,6 +318,7 @@ export class HuiEnergySolarGraphCard
|
||||
borderColor,
|
||||
backgroundColor: borderColor + "7F",
|
||||
data: solarProductionData,
|
||||
stack: "solar",
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user