Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

chore: Update chart styling and loading text

Andras Bacsai07e55b263680
diff --git a/resources/views/livewire/charts/server-cpu.blade.php b/resources/views/livewire/charts/server-cpu.blade.php
index a6eefdf155..eaa2d3c086 100644
--- a/resources/views/livewire/charts/server-cpu.blade.php
+++ b/resources/views/livewire/charts/server-cpu.blade.php
@@ -57,31 +57,10 @@
colors: [baseColor],
xaxis: {
type: 'datetime',
- labels: {
- show: true,
- style: {
- colors: textColor,
- }
- }
- },
- yaxis: {
- show: true,
- labels: {
- show: true,
- style: {
- colors: textColor,
- }
- }
},
series: [{
data: '{!! $data !!}'
}],
- noData: {
- text: 'Loading...',
- style: {
- color: textColor,
- }
- },
tooltip: {
enabled: false,
},
@@ -100,20 +79,25 @@
}],
colors: [baseColor],
xaxis: {
+ type: 'datetime',
labels: {
+ show: true,
style: {
colors: textColor,
}
}
},
yaxis: {
+ show: true,
labels: {
+ show: true,
style: {
colors: textColor,
}
}
},
noData: {
+ text: 'Loading...',
style: {
color: textColor,
}
diff --git a/resources/views/livewire/charts/server-memory.blade.php b/resources/views/livewire/charts/server-memory.blade.php
index 8003a6eabf..40404fdae1 100644
--- a/resources/views/livewire/charts/server-memory.blade.php
+++ b/resources/views/livewire/charts/server-memory.blade.php
@@ -64,24 +64,9 @@
}
}
},
- yaxis: {
- show: true,
- labels: {
- show: true,
- style: {
- colors: textColor,
- }
- }
- },
series: [{
data: '{!! $data !!}'
}],
- noData: {
- text: 'Loading...',
- style: {
- color: textColor,
- }
- },
tooltip: {
enabled: false,
},
@@ -100,20 +85,26 @@
}],
colors: [baseColor],
xaxis: {
+ type: 'datetime',
labels: {
+ show: true,
style: {
colors: textColor,
}
}
},
yaxis: {
+ min: 0,
+ show: true,
labels: {
+ show: true,
style: {
colors: textColor,
}
}
},
noData: {
+ text: 'Loading...',
style: {
color: textColor,
}