From c469976d508c0f9148da9c9e923a196fb37beab9 Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Mon, 3 Dec 2018 11:53:01 +0100 Subject: [PATCH] Feat: Doughnut chart react on datas --- config/config.yml | 10 ----- src/components/box.vue | 7 +--- src/components/charjs_donut.vue | 12 +++--- src/components/postes_comparison.vue | 55 ++++++++++++++++++++-------- src/libs/data_processing.js | 5 +++ 5 files changed, 51 insertions(+), 38 deletions(-) diff --git a/config/config.yml b/config/config.yml index 66ca3e1..99b54a7 100644 --- a/config/config.yml +++ b/config/config.yml @@ -54,13 +54,3 @@ postes: - SALAISON CHALAM - INTERMARCHE - LA FERME DU COIN - - bio: - name: Bio - variant: success - icon: shopping-basket - words: - - BIOCOOP - - LA VIE CLAIRE - - MAISON VITALE - diff --git a/src/components/box.vue b/src/components/box.vue index 6cd59b4..ecec6cb 100644 --- a/src/components/box.vue +++ b/src/components/box.vue @@ -17,6 +17,7 @@ diff --git a/src/components/postes_comparison.vue b/src/components/postes_comparison.vue index ce80634..1f67766 100644 --- a/src/components/postes_comparison.vue +++ b/src/components/postes_comparison.vue @@ -1,11 +1,14 @@ +