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.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
Added proper labels for Y axis data on metrics graphs
ShadowArcanistee40fa0bef68
diff --git a/resources/views/livewire/project/shared/metrics.blade.php b/resources/views/livewire/project/shared/metrics.blade.phpindex 582235c369..5b84705f42 100644--- a/resources/views/livewire/project/shared/metrics.blade.php+++ b/resources/views/livewire/project/shared/metrics.blade.php@@ -129,15 +129,18 @@}}},- yaxis: {- show: true,- labels: {- show: true,- style: {- colors: textColor,- }- }- },+ yaxis: {+ show: true,+ labels: {+ show: true,+ style: {+ colors: textColor,+ },+ formatter: function(value) {+ return Math.round(value) + ' %';+ }+ }+ },noData: {text: 'Loading...',style: {@@ -259,16 +262,19 @@}}},- yaxis: {- min: 0,- show: true,- labels: {- show: true,- style: {- colors: textColor,- }- }- },+ yaxis: {+ min: 0,+ show: true,+ labels: {+ show: true,+ style: {+ colors: textColor,+ },+ formatter: function(value) {+ return Math.round(value) + ' MB';+ }+ }+ },noData: {text: 'Loading...',style: {diff --git a/resources/views/livewire/server/charts.blade.php b/resources/views/livewire/server/charts.blade.phpindex eaa94f6eae..0b9adbe3b3 100644--- a/resources/views/livewire/server/charts.blade.php+++ b/resources/views/livewire/server/charts.blade.php@@ -125,15 +125,18 @@}}},- yaxis: {- show: true,- labels: {- show: true,- style: {- colors: textColor,- }- }- },+ yaxis: {+ show: true,+ labels: {+ show: true,+ style: {+ colors: textColor,+ },+ formatter: function(value) {+ return Math.round(value) + ' %';+ }+ }+ },noData: {text: 'Loading...',style: {@@ -258,16 +261,19 @@}}},- yaxis: {- min: 0,- show: true,- labels: {- show: true,- style: {- colors: textColor,- }- }- },+ yaxis: {+ min: 0,+ show: true,+ labels: {+ show: true,+ style: {+ colors: textColor,+ },+ formatter: function(value) {+ return Math.round(value) + ' %';+ }+ }+ },noData: {text: 'Loading...',style: {