рр
This commit is contained in:
1 parent
7d96f91656
commit
f7631694ba
1 file changed
+23
-2
@@ -44,7 +44,7 @@
|
|||||||
<v-col class="d-flex flex-column ">
|
<v-col class="d-flex flex-column ">
|
||||||
<v-row class="flex-grow-0">
|
<v-row class="flex-grow-0">
|
||||||
<v-col class="bg-blue">
|
<v-col class="bg-blue">
|
||||||
<!-- <Line :data="data" :options="options" /> -->
|
<Line :data="data" :options="options" />
|
||||||
</v-col>
|
</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
<v-row>
|
<v-row>
|
||||||
@@ -105,6 +105,11 @@
|
|||||||
import { ref, computed } from 'vue'
|
import { ref, computed } from 'vue'
|
||||||
import {getfromserver, pagecounter, splitname} from '@/utils/universal_functions'
|
import {getfromserver, pagecounter, splitname} from '@/utils/universal_functions'
|
||||||
import moment from 'moment'
|
import moment from 'moment'
|
||||||
|
import lineGraph from '@/components/graph/line-graph.vue'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// import {
|
// import {
|
||||||
// Chart as ChartJS,
|
// Chart as ChartJS,
|
||||||
// CategoryScale,
|
// CategoryScale,
|
||||||
@@ -129,12 +134,26 @@ import moment from 'moment'
|
|||||||
// )
|
// )
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
components: { lineGraph },
|
||||||
// components: {
|
// components: {
|
||||||
// Line
|
// Line
|
||||||
// },
|
// },
|
||||||
|
|
||||||
setup(){
|
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 = {
|
// const data = {
|
||||||
// labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'],
|
// labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'],
|
||||||
// datasets: [
|
// datasets: [
|
||||||
@@ -282,6 +301,8 @@ setup(){
|
|||||||
countvis,
|
countvis,
|
||||||
countgrupp,
|
countgrupp,
|
||||||
activuser,
|
activuser,
|
||||||
|
data,
|
||||||
|
options
|
||||||
// chartConfig,
|
// chartConfig,
|
||||||
// data,
|
// data,
|
||||||
// options
|
// options
|
||||||
|
|||||||
Reference in new issue
Block a user