graphs: set the colors

This commit is contained in:
Girish Ramakrishnan
2025-07-03 15:59:31 +02:00
parent f1057bb4a3
commit 9e27921867
2 changed files with 13 additions and 3 deletions
@@ -121,6 +121,7 @@ onUnmounted(async () => {
:period="period"
yscale="cpu"
:dataset-labels="['CPU']"
:dataset-colors="['#9ad0f5']"
:cpu="systemCpus"
>
</GraphItem>
@@ -131,6 +132,7 @@ onUnmounted(async () => {
:period="period"
yscale="memory"
:dataset-labels="['Memory', 'Swap']"
:dataset-colors="['#9ad0f5', '#ffb1c1']"
:memory="systemMemory"
>
</GraphItem>
@@ -141,6 +143,7 @@ onUnmounted(async () => {
:period="period"
yscale="disk"
:dataset-labels="['Read', 'Write']"
:dataset-colors="['#9ad0f5', '#ffb1c1']"
>
</GraphItem>
@@ -150,6 +153,7 @@ onUnmounted(async () => {
:period="period"
yscale="network"
:dataset-labels="['RX', 'TX']"
:dataset-colors="['#9ad0f5', '#ffb1c1']"
>
</GraphItem>
</div>