mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +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,
|
offset: true,
|
||||||
},
|
},
|
||||||
y: {
|
y: {
|
||||||
|
stacked: true,
|
||||||
type: "linear",
|
type: "linear",
|
||||||
title: {
|
title: {
|
||||||
display: true,
|
display: true,
|
||||||
@ -306,6 +307,7 @@ export class HuiEnergyGasGraphCard
|
|||||||
borderColor,
|
borderColor,
|
||||||
backgroundColor: borderColor + "7F",
|
backgroundColor: borderColor + "7F",
|
||||||
data: gasConsumptionData,
|
data: gasConsumptionData,
|
||||||
|
stack: "gas",
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -168,6 +168,7 @@ export class HuiEnergySolarGraphCard
|
|||||||
offset: true,
|
offset: true,
|
||||||
},
|
},
|
||||||
y: {
|
y: {
|
||||||
|
stacked: true,
|
||||||
type: "linear",
|
type: "linear",
|
||||||
title: {
|
title: {
|
||||||
display: true,
|
display: true,
|
||||||
@ -317,6 +318,7 @@ export class HuiEnergySolarGraphCard
|
|||||||
borderColor,
|
borderColor,
|
||||||
backgroundColor: borderColor + "7F",
|
backgroundColor: borderColor + "7F",
|
||||||
data: solarProductionData,
|
data: solarProductionData,
|
||||||
|
stack: "solar",
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user