From 7aebdc0a80194f6aa06cfc8eedfb58d50cd9aaae Mon Sep 17 00:00:00 2001 From: iriska-gri <79623434+iriska-gri@users.noreply.github.com> Date: Tue, 26 Dec 2023 11:52:11 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/front/src/views/AboutPortalPage.vue | 80 ++++++++++++------------- 1 file changed, 40 insertions(+), 40 deletions(-) diff --git a/src/front/src/views/AboutPortalPage.vue b/src/front/src/views/AboutPortalPage.vue index 787fab9c4..4835192b2 100644 --- a/src/front/src/views/AboutPortalPage.vue +++ b/src/front/src/views/AboutPortalPage.vue @@ -53,51 +53,51 @@ import { ref, computed } from 'vue' import {getfromserver, pagecounter, splitname} from '@/utils/universal_functions' import moment from 'moment' -import { - Chart as ChartJS, - CategoryScale, - LinearScale, - PointElement, - LineElement, - Title, - Tooltip, - Legend -} from 'chart.js' -import { Line } from 'vue-chartjs' -import * as chartConfig from './chartConfig.js' +// import { +// Chart as ChartJS, +// CategoryScale, +// LinearScale, +// PointElement, +// LineElement, +// Title, +// Tooltip, +// Legend +// } from 'chart.js' +// import { Line } from 'vue-chartjs' +// import * as chartConfig from './chartConfig.js' -ChartJS.register( - CategoryScale, - LinearScale, - PointElement, - LineElement, - Title, - Tooltip, - Legend -) +// ChartJS.register( +// CategoryScale, +// LinearScale, +// PointElement, +// LineElement, +// Title, +// Tooltip, +// Legend +// ) export default { - components: { - Line - }, + // components: { + // Line + // }, setup(){ - const data = { - labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'], - datasets: [ - { - label: 'Data One', - backgroundColor: '#f87979', - data: [40, 39, 10, 40, 39, 80, 40] - } - ] -} +// const data = { +// labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'], +// datasets: [ +// { +// label: 'Data One', +// backgroundColor: '#f87979', +// data: [40, 39, 10, 40, 39, 80, 40] +// } +// ] +// } -const options = { - responsive: true, - maintainAspectRatio: false -} +// const options = { +// responsive: true, +// maintainAspectRatio: false +// } const visiting = ref([]) const previousWeekStart = moment().subtract(1, 'weeks').startOf('week'); // начало предыдущей недели @@ -231,8 +231,8 @@ const options = { countgrupp, activuser, chartConfig, - data, - options + // data, + // options } }