({
const cpuChartData = computed(() => ({
labels: props.metricsData.cpu.labels,
datasets: [{
- label: 'CPU %',
+ label: 'CPU',
data: props.metricsData.cpu.data,
borderColor: 'rgb(75, 192, 192)',
fill: false
@@ -154,7 +170,7 @@ const cpuChartData = computed(() => ({
const memoryChartData = computed(() => ({
labels: props.metricsData.memory.labels,
datasets: [{
- label: 'Memory %',
+ label: 'Memory',
data: props.metricsData.memory.data,
borderColor: 'rgb(153, 102, 255)',
fill: false
@@ -164,7 +180,7 @@ const memoryChartData = computed(() => ({
const storageChartData = computed(() => ({
labels: props.metricsData.storage?.labels || [],
datasets: [{
- label: 'Storage %',
+ label: 'Storage',
data: props.metricsData.storage?.data || [],
borderColor: 'rgb(255, 159, 64)',
fill: false
@@ -216,5 +232,14 @@ const storageChartData = computed(() => ({
.card-header h6 {
font-size: 0.95rem;
font-weight: 600;
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+}
+
+.current-value {
+ font-size: 1.1rem;
+ font-weight: bold;
+ color: #333;
}