[ui] fix ram graph

use % instead of GB
This commit is contained in:
ChemicalXandco 2020-08-14 12:07:35 +01:00
parent a24bfc14b0
commit 432bd07df7

View file

@ -439,7 +439,7 @@ Item {
title: root.ramLabel + root.ramTotal + "GB"
ValueAxis {
id: valueAxisY2
id: valueAxisRam
min: 0
max: 100
titleText: "<span style='color: " + textColor + "'>%</span>"
@ -451,19 +451,6 @@ Item {
labelsColor: textColor
}
ValueAxis {
id: valueAxisRam
min: 0
max: root.ramTotal
titleText: "<span style='color: " + textColor + "'>GB</span>"
color: textColor
gridLineColor: textColor
minorGridLineColor: textColor
shadesColor: textColor
shadesBorderColor: textColor
labelsColor: textColor
}
ValueAxis {
id: valueAxisX2
min: 0