metrics: make the memory y-unit scale more flexible

system memory is in GiB. app memory is usually in MiB
This commit is contained in:
Girish Ramakrishnan
2025-07-04 10:40:53 +02:00
parent 82ea2cd86d
commit 4caf052199
3 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -131,7 +131,7 @@ onUnmounted(async () => {
yscale="memory"
:dataset-labels="['Memory', 'Swap']"
:dataset-colors="['#9ad0f5', '#ffb1c1']"
:memory="systemMemory"
:memory="systemMemory.memory + systemMemory.swap"
>
</GraphItem>