Index: Modules/energy/package/contents/ui/main.qml =================================================================== --- Modules/energy/package/contents/ui/main.qml +++ Modules/energy/package/contents/ui/main.qml @@ -270,9 +270,8 @@ yUnits: root.historyType == HistoryModel.RateType ? i18nc("Shorthand for Watts","W") : i18nc("literal percent sign","%") yMax: { if (root.historyType == HistoryModel.RateType) { - var max = Math.floor(history.largestValue) + 10 - - return max; + // Ceil to the nearest 10 + return Math.floor(history.largestValue) + 10 } else { return 100; }