From 929389597e757128ef3435d3eddecc680a01d55d Mon Sep 17 00:00:00 2001 From: Alexey Velikiy Date: Sun, 5 Mar 2017 18:58:27 +0100 Subject: [PATCH] layout contry continu --- .../bubbles-nested-routes/bubbles.vue | 2 +- .../bubbles-nested-routes/index.vue | 10 +++-- .../bubbles-nested-routes/menu.vue | 6 +-- .../bubbles-nested-routes/ph2/index.js | 42 +++++++------------ .../ph2/layout-contry.js | 38 ++++++++++++++++- 5 files changed, 58 insertions(+), 40 deletions(-) diff --git a/src/d3-components/bubbles-nested-routes/bubbles.vue b/src/d3-components/bubbles-nested-routes/bubbles.vue index bbc64a9..4123952 100644 --- a/src/d3-components/bubbles-nested-routes/bubbles.vue +++ b/src/d3-components/bubbles-nested-routes/bubbles.vue @@ -35,7 +35,7 @@ export default { // TODO: remove it later d3.csv('static/data/earthquakes.csv', function(data) { - that.ph2 = new PH2(bubblesG, data, 'country'); + that.ph2 = new PH2(bubblesG, data, that.groupBy); }); } diff --git a/src/d3-components/bubbles-nested-routes/index.vue b/src/d3-components/bubbles-nested-routes/index.vue index 2d84bcc..af8ce36 100644 --- a/src/d3-components/bubbles-nested-routes/index.vue +++ b/src/d3-components/bubbles-nested-routes/index.vue @@ -15,22 +15,23 @@ Links: