Merge PR #851: Fix background of consumption balance pie chart if all values are 0

pull/855/head
jenkins 2022-07-26 15:04:13 +02:00
commit 6882118ec7
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ ChartView {
value: consumptionBalanceSeries.fromStorage
}
PieSlice {
color: Style.tileBackgroundColor
color: Style.tooltipBackgroundColor
borderColor: color
borderWidth: 0
value: consumptionBalanceSeries.fromGrid == 0 && consumptionBalanceSeries.fromProduction == 0 && consumptionBalanceSeries.fromStorage == 0 ? 1 : 0