рр
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-row class="flex-grow-0">
|
||||
<v-col class="bg-blue">
|
||||
<!-- <Line :data="data" :options="options" /> -->
|
||||
<Line :data="data" :options="options" />
|
||||
</v-col>
|
||||
</v-row>
|
||||
<v-row>
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user