Stack gas and solar sources (#10244)

This commit is contained in:
Bram Kragten 2021-10-20 06:44:41 +02:00 committed by GitHub
parent 7488eb782d
commit 9a4cce74f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -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",
});
}

View File

@ -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",
});
}