Merge PR #883: Re-enable energy charts
This commit is contained in:
commit
83fa87ecd6
@ -113,20 +113,20 @@ MainViewBase {
|
|||||||
columnSpacing: 0
|
columnSpacing: 0
|
||||||
|
|
||||||
|
|
||||||
// CurrentConsumptionBalancePieChart {
|
CurrentConsumptionBalancePieChart {
|
||||||
// Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
// Layout.preferredHeight: width
|
Layout.preferredHeight: width
|
||||||
// energyManager: energyManager
|
energyManager: energyManager
|
||||||
// visible: producers.count > 0
|
visible: producers.count > 0
|
||||||
// animationsEnabled: Qt.application.active && root.isCurrentItem
|
animationsEnabled: Qt.application.active && root.isCurrentItem
|
||||||
// }
|
}
|
||||||
// CurrentProductionBalancePieChart {
|
CurrentProductionBalancePieChart {
|
||||||
// Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
// Layout.preferredHeight: width
|
Layout.preferredHeight: width
|
||||||
// energyManager: energyManager
|
energyManager: energyManager
|
||||||
// visible: producers.count > 0
|
visible: producers.count > 0
|
||||||
// animationsEnabled: Qt.application.active && root.isCurrentItem
|
animationsEnabled: Qt.application.active && root.isCurrentItem
|
||||||
// }
|
}
|
||||||
|
|
||||||
PowerConsumptionBalanceHistory {
|
PowerConsumptionBalanceHistory {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
@ -134,46 +134,46 @@ MainViewBase {
|
|||||||
visible: producers.count > 0
|
visible: producers.count > 0
|
||||||
}
|
}
|
||||||
|
|
||||||
// PowerProductionBalanceHistory {
|
PowerProductionBalanceHistory {
|
||||||
// Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
// Layout.preferredHeight: width
|
Layout.preferredHeight: width
|
||||||
// visible: producers.count > 0
|
visible: producers.count > 0
|
||||||
// }
|
}
|
||||||
|
|
||||||
// ConsumersPieChart {
|
ConsumersPieChart {
|
||||||
// Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
// Layout.preferredHeight: width
|
Layout.preferredHeight: width
|
||||||
// energyManager: energyManager
|
energyManager: energyManager
|
||||||
// visible: consumers.count > 0
|
visible: consumers.count > 0
|
||||||
// colors: root.thingColors
|
colors: root.thingColors
|
||||||
// consumers: consumers
|
consumers: consumers
|
||||||
// animationsEnabled: Qt.application.active && root.isCurrentItem
|
animationsEnabled: Qt.application.active && root.isCurrentItem
|
||||||
// }
|
}
|
||||||
|
|
||||||
// ConsumersHistory {
|
ConsumersHistory {
|
||||||
// Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
// Layout.preferredHeight: width
|
Layout.preferredHeight: width
|
||||||
// visible: consumers.count > 0 || rootMeter != null
|
visible: consumers.count > 0 || rootMeter != null
|
||||||
// colors: root.thingColors
|
colors: root.thingColors
|
||||||
// consumers: consumers
|
consumers: consumers
|
||||||
// }
|
}
|
||||||
|
|
||||||
// PowerBalanceStats {
|
PowerBalanceStats {
|
||||||
// Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
// Layout.preferredHeight: width
|
Layout.preferredHeight: width
|
||||||
// energyManager: energyManager
|
energyManager: energyManager
|
||||||
// visible: rootMeter != null || producers.count > 0
|
visible: rootMeter != null || producers.count > 0
|
||||||
// producers: producers
|
producers: producers
|
||||||
// }
|
}
|
||||||
|
|
||||||
// ConsumerStats {
|
ConsumerStats {
|
||||||
// Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
// Layout.preferredHeight: width
|
Layout.preferredHeight: width
|
||||||
// energyManager: energyManager
|
energyManager: energyManager
|
||||||
// visible: consumers.count > 0
|
visible: consumers.count > 0
|
||||||
// colors: root.thingColors
|
colors: root.thingColors
|
||||||
// consumers: consumers
|
consumers: consumers
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user