From 4bcd6d6d3958911582f97a242559fd023bdc5e20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rton=20Csord=C3=A1s?= Date: Thu, 4 Feb 2021 15:24:08 +0100 Subject: [PATCH] [gui] Allow to change the outstanding reports chart resolution - Add a resolution dropdown selector (day/week/month/year) to the Number of outstanding reports chart. - Handle wrong values (e.g: the interval should be lower than 31). - Save interval and resolution to the URL and on page load use these values. --- .../Overview/OutstandingReportsChart.vue | 64 ++++++++----- .../Statistics/Overview/Overview.vue | 94 +++++++++++++++++-- 2 files changed, 123 insertions(+), 35 deletions(-) diff --git a/web/server/vue-cli/src/components/Statistics/Overview/OutstandingReportsChart.vue b/web/server/vue-cli/src/components/Statistics/Overview/OutstandingReportsChart.vue index 227b18ea41..d7f95881ce 100644 --- a/web/server/vue-cli/src/components/Statistics/Overview/OutstandingReportsChart.vue +++ b/web/server/vue-cli/src/components/Statistics/Overview/OutstandingReportsChart.vue @@ -1,6 +1,9 @@