diff --git a/src/front/src/views/AboutPortalPage.vue b/src/front/src/views/AboutPortalPage.vue index 781b3433d..85ce5834f 100644 --- a/src/front/src/views/AboutPortalPage.vue +++ b/src/front/src/views/AboutPortalPage.vue @@ -44,7 +44,7 @@ - + @@ -105,6 +105,11 @@ import { ref, computed } from 'vue' import {getfromserver, pagecounter, splitname} from '@/utils/universal_functions' import moment from 'moment' +import lineGraph from '@/components/graph/line-graph.vue' + + + + // import { // Chart as ChartJS, // CategoryScale, @@ -129,12 +134,26 @@ import moment from 'moment' // ) export default { + components: { lineGraph }, // 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 options = { + responsive: true, + maintainAspectRatio: false + } // const data = { // labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'], // datasets: [ @@ -282,6 +301,8 @@ setup(){ countvis, countgrupp, activuser, + data, + options // chartConfig, // data, // options