From 7234c2fbba95f4d857cc1e43398642bf801adcb2 Mon Sep 17 00:00:00 2001 From: KevinMidboe Date: Thu, 18 Feb 2021 23:11:48 +0100 Subject: [PATCH] Backend endpoint makes it easier consume for graph. New endpoint has the data aggregated so we don't need to do as much in js. Also added simple year select when we have data spanning multiple years. --- frontend/ui/PurchaseGraph.vue | 189 ++++++++++++++++++++-------------- 1 file changed, 113 insertions(+), 76 deletions(-) diff --git a/frontend/ui/PurchaseGraph.vue b/frontend/ui/PurchaseGraph.vue index af9dcd7..c43ae71 100644 --- a/frontend/ui/PurchaseGraph.vue +++ b/frontend/ui/PurchaseGraph.vue @@ -2,89 +2,47 @@
+
+ +