From ed7da81b230e3f7670e5cf4e76ddbe177adfdb6c Mon Sep 17 00:00:00 2001
From: iriska-gri <79623434+iriska-gri@users.noreply.github.com>
Date: Tue, 5 Mar 2024 15:43:57 +0300
Subject: [PATCH] =?UTF-8?q?=D0=A2=D0=B0=D0=B1=D0=BB=D0=B8=D1=86=D0=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../UI/aboutportal/card-top-comment.vue | 2 +-
.../components/UI/aboutportal/line-chart.vue | 20 +++++++++++++++---
.../components/UI/aboutportal/rating-page.vue | 21 +++++++++++++++----
3 files changed, 35 insertions(+), 8 deletions(-)
diff --git a/src/front/src/components/UI/aboutportal/card-top-comment.vue b/src/front/src/components/UI/aboutportal/card-top-comment.vue
index 30800ce02..f8b28b095 100644
--- a/src/front/src/components/UI/aboutportal/card-top-comment.vue
+++ b/src/front/src/components/UI/aboutportal/card-top-comment.vue
@@ -13,7 +13,7 @@
-
+
diff --git a/src/front/src/components/UI/aboutportal/line-chart.vue b/src/front/src/components/UI/aboutportal/line-chart.vue
index e7f203dc2..2047c589d 100644
--- a/src/front/src/components/UI/aboutportal/line-chart.vue
+++ b/src/front/src/components/UI/aboutportal/line-chart.vue
@@ -235,15 +235,24 @@ export default {
// }, {deep:true})
const options = {
- plugins: {
+ // layout: {
+ // padding: 20
+ // },
+ plugins: {
+
datalabels: {
color: 'grey',
align: 'top',
display: 'auto'
},
legend: {
+ position: 'bottom',
labels: {
color: 'grey',
+ align: 'right',
+
+
+
}
},
// tooltip: {
@@ -261,16 +270,21 @@ export default {
// }
// }
},
-
+ // layout: {
+ // padding: {
+ // bottom: '10'
+ // }
+ // },
scales: {
x: {
grid: {
color: 'white',
}
},
+
y: {
ticks: {
- stepSize: 10
+ stepSize: 10,
},
offset: true,
grid: {
diff --git a/src/front/src/components/UI/aboutportal/rating-page.vue b/src/front/src/components/UI/aboutportal/rating-page.vue
index 26af1b917..f770355db 100644
--- a/src/front/src/components/UI/aboutportal/rating-page.vue
+++ b/src/front/src/components/UI/aboutportal/rating-page.vue
@@ -12,13 +12,20 @@
item-value="name"
@update:sortBy=customSort
v-model:sort-by="sortBy"
+ density="compact"
>
+
+
+
+ {{ value }}
+
+
@@ -28,8 +35,9 @@
location="bottom"
>
-
- {{value}}
+
+ {{value}}
+
-
- {{value}}
+
+ {{value}}
+
\ No newline at end of file