From ac886b0e9aa03736ff0760bb57b5f90ff57777f3 Mon Sep 17 00:00:00 2001 From: Amir Raminfar Date: Wed, 2 Aug 2023 11:29:50 -0700 Subject: [PATCH] feat: adds bar charts back to dashboard table (#2331) --- assets/components/BarChart.vue | 9 ++++++++- assets/components/ContainerTable.vue | 8 ++++++-- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/assets/components/BarChart.vue b/assets/components/BarChart.vue index a8e74da3..5e4f151f 100644 --- a/assets/components/BarChart.vue +++ b/assets/components/BarChart.vue @@ -15,10 +15,17 @@ const minValue = computed(() => Math.min(value, 1)); diff --git a/assets/components/ContainerTable.vue b/assets/components/ContainerTable.vue index 766c490d..9151b3d0 100644 --- a/assets/components/ContainerTable.vue +++ b/assets/components/ContainerTable.vue @@ -33,10 +33,14 @@ - {{ (container.movingAverage.cpu / 100).toLocaleString(undefined, { style: "percent" }) }} + + {{ (container.movingAverage.cpu / 100).toLocaleString(undefined, { style: "percent" }) }} + - {{ (container.movingAverage.memory / 100).toLocaleString(undefined, { style: "percent" }) }} + + {{ (container.movingAverage.memory / 100).toLocaleString(undefined, { style: "percent" }) }} +