From 96a113f73f8fd1679e026b5777509b0905554b35 Mon Sep 17 00:00:00 2001 From: Sebastian Stehle Date: Thu, 31 Aug 2017 21:46:24 +0200 Subject: [PATCH] Chart colors adjusted. --- .../pages/dashboard-page.component.html | 4 ++-- .../dashboard/pages/dashboard-page.component.ts | 16 ++++++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/Squidex/app/features/dashboard/pages/dashboard-page.component.html b/src/Squidex/app/features/dashboard/pages/dashboard-page.component.html index 169545bcb..2d799f403 100644 --- a/src/Squidex/app/features/dashboard/pages/dashboard-page.component.html +++ b/src/Squidex/app/features/dashboard/pages/dashboard-page.component.html @@ -82,7 +82,7 @@
-
+
API calls this month
{{callsCurrent | sqxKNumber}}
Monthly limit: {{callsMax | sqxKNumber}}
@@ -98,7 +98,7 @@
-
+
Asset size today
{{assetsCurrent | sqxFileSize}}
Total limit: {{assetsMax | sqxFileSize}}
diff --git a/src/Squidex/app/features/dashboard/pages/dashboard-page.component.ts b/src/Squidex/app/features/dashboard/pages/dashboard-page.component.ts index 54a4f5467..73d5ea2ca 100644 --- a/src/Squidex/app/features/dashboard/pages/dashboard-page.component.ts +++ b/src/Squidex/app/features/dashboard/pages/dashboard-page.component.ts @@ -92,8 +92,8 @@ export class DashboardPageComponent extends AppComponentBase implements OnInit { label: 'Number of Assets', lineTension: 0, fill: false, - backgroundColor: 'rgba(61, 135, 213, 0.6)', - borderColor: 'rgba(61, 135, 213, 1)', + backgroundColor: 'rgba(51, 137, 213, 0.6)', + borderColor: 'rgba(51, 137, 213, 1)', borderWidth: 1, data: dtos.map(x => x.count) } @@ -107,8 +107,8 @@ export class DashboardPageComponent extends AppComponentBase implements OnInit { label: 'Size of Assets (MB)', lineTension: 0, fill: false, - backgroundColor: 'rgba(61, 135, 213, 0.6)', - borderColor: 'rgba(61, 135, 213, 1)', + backgroundColor: 'rgba(51, 137, 213, 0.6)', + borderColor: 'rgba(51, 137, 213, 1)', borderWidth: 1, data: dtos.map(x => Math.round(10 * (x.size / (1024 * 1024))) / 10) } @@ -124,8 +124,8 @@ export class DashboardPageComponent extends AppComponentBase implements OnInit { datasets: [ { label: 'Number of API Calls', - backgroundColor: 'rgba(61, 135, 213, 0.6)', - borderColor: 'rgba(61, 135, 213, 1)', + backgroundColor: 'rgba(51, 137, 213, 0.6)', + borderColor: 'rgba(51, 137, 213, 1)', borderWidth: 1, data: dtos.map(x => x.count) } @@ -137,8 +137,8 @@ export class DashboardPageComponent extends AppComponentBase implements OnInit { datasets: [ { label: 'API Performance (Milliseconds)', - backgroundColor: 'rgba(61, 135, 213, 0.6)', - borderColor: 'rgba(61, 135, 213, 1)', + backgroundColor: 'rgba(51, 137, 213, 0.6)', + borderColor: 'rgba(51, 137, 213, 1)', borderWidth: 1, data: dtos.map(x => x.averageMs) }