From 0c2b8159d1b32921033559536d4ab63981cacf45 Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Sun, 2 Dec 2018 16:43:23 +0100 Subject: [PATCH] Feat: first doughnut chart with chartjs --- src/components/charjs_donut.vue | 19 +++++++++++ src/components/postes_comparison.vue | 51 ++++++++++++++++++++++++++++ src/views/home.vue | 6 +++- 3 files changed, 75 insertions(+), 1 deletion(-) create mode 100644 src/components/charjs_donut.vue create mode 100644 src/components/postes_comparison.vue diff --git a/src/components/charjs_donut.vue b/src/components/charjs_donut.vue new file mode 100644 index 0000000..45cebef --- /dev/null +++ b/src/components/charjs_donut.vue @@ -0,0 +1,19 @@ + + + diff --git a/src/components/postes_comparison.vue b/src/components/postes_comparison.vue new file mode 100644 index 0000000..ce80634 --- /dev/null +++ b/src/components/postes_comparison.vue @@ -0,0 +1,51 @@ + + + + + diff --git a/src/views/home.vue b/src/views/home.vue index bedbec0..96842cf 100644 --- a/src/views/home.vue +++ b/src/views/home.vue @@ -21,6 +21,8 @@ + + @@ -28,11 +30,13 @@