diff --git a/src/front/src/components/graph/chartConfig.ts b/src/front/src/components/graph/chartConfig.ts new file mode 100644 index 000000000..2d182bbe7 --- /dev/null +++ b/src/front/src/components/graph/chartConfig.ts @@ -0,0 +1,16 @@ +export const data = { + labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'], + datasets: [ + { + label: 'Data One', + backgroundColor: '#f87979', + data: [40, 39, 10, 40, 39, 80, 40] + } + ] + } + + export const options = { + responsive: true, + maintainAspectRatio: false + } + \ No newline at end of file diff --git a/src/front/src/components/graph/line-graph.vue b/src/front/src/components/graph/line-graph.vue index 586546a99..3e2c3b178 100644 --- a/src/front/src/components/graph/line-graph.vue +++ b/src/front/src/components/graph/line-graph.vue @@ -1,31 +1,40 @@ - -