diff --git a/package.json b/package.json index 057782e..5a5730f 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ }, "main": "background.js", "dependencies": { + "chart.js": "2.9.4", "core-js": "^3.6.5", "date-fns": "^2.23.0", "papaparse": "^5.3.1", diff --git a/src/components/graphs/RevenusChart.vue b/src/components/graphs/RevenusChart.vue new file mode 100644 index 0000000..e2cb76a --- /dev/null +++ b/src/components/graphs/RevenusChart.vue @@ -0,0 +1,68 @@ + + + diff --git a/src/lib/months.js b/src/lib/months.js index a9a7707..e565c46 100644 --- a/src/lib/months.js +++ b/src/lib/months.js @@ -1,5 +1,5 @@ -function monthCA(month) { +export function monthCA(month) { // Extract the CA of the month if (month.ca_react) { return month.ca_react diff --git a/src/views/home.vue b/src/views/home.vue index e6fec16..d860036 100644 --- a/src/views/home.vue +++ b/src/views/home.vue @@ -1,5 +1,6 @@