From edb9ffed41fc1f8f166cf59f921425e119adbf8d Mon Sep 17 00:00:00 2001 From: Vladimir Voronin Date: Thu, 23 Jan 2025 15:11:05 +0300 Subject: [PATCH] +analytics update --- src/components/analytics/AnalyticsView.vue | 32 +++++++++++++++------- 1 file changed, 22 insertions(+), 10 deletions(-) diff --git a/src/components/analytics/AnalyticsView.vue b/src/components/analytics/AnalyticsView.vue index a75fe56..8f0e760 100644 --- a/src/components/analytics/AnalyticsView.vue +++ b/src/components/analytics/AnalyticsView.vue @@ -28,6 +28,13 @@ const tableColumns = ref([]); const chartData = ref(null) const selectedCategory = ref() const formatter = ref(new Intl.NumberFormat('ru-RU', {style: 'currency', currency: 'RUB', minimumFractionDigits: 0})) +const isChartOpen = ref(false) + +const closeChart = () => { + setTimeout(() => { + isChartOpen.value = false; + }, 500) +} const preparedChartData = computed(() => { @@ -191,22 +198,26 @@ onMounted(async () => {
- + График - - - - + + + +
+ - + - - + + +
@@ -244,6 +255,7 @@ onMounted(async () => { align-content: center; justify-content: center; } + .p-listbox-list-container { max-height: 100% !important; }