From d52f47192013d5b65ae925e7c069b77506947488 Mon Sep 17 00:00:00 2001 From: Yoga Pangestu Date: Wed, 1 Jul 2026 19:16:13 +0700 Subject: [PATCH] feat: update Dashboard component to utilize new chart color configurations and implement tooltips for donut charts --- resources/js/pages/admin/Analysis.vue | 159 ++++++++++++++++--- resources/js/pages/admin/Dashboard.vue | 208 ++++++++++++++++++++----- 2 files changed, 308 insertions(+), 59 deletions(-) diff --git a/resources/js/pages/admin/Analysis.vue b/resources/js/pages/admin/Analysis.vue index ec3ea32..5f590ce 100644 --- a/resources/js/pages/admin/Analysis.vue +++ b/resources/js/pages/admin/Analysis.vue @@ -1,7 +1,8 @@ @@ -277,13 +380,8 @@ const chartsGridClass = computed(() => { - +
{ label: 'Bersih', value: 'Rp' + formatRupiah( revenueSummary.total_revenue - - revenueSummary.total_deduction, + revenueSummary.total_deduction, ), }, { @@ -360,11 +458,14 @@ const chartsGridClass = computed(() => {
- + +
@@ -389,12 +490,15 @@ const chartsGridClass = computed(() => {
- + +
@@ -419,11 +523,14 @@ const chartsGridClass = computed(() => {
- + +
@@ -448,11 +555,14 @@ const chartsGridClass = computed(() => {
- + +
@@ -476,3 +586,29 @@ const chartsGridClass = computed(() => { + +