From 8758370dbbe9574e29ce44a4b727d9f497c4165c Mon Sep 17 00:00:00 2001 From: daminglu Date: Fri, 6 Apr 2018 21:59:33 -0700 Subject: [PATCH] Removed Fit-to-Screen and Slider as we do not need them anymore (#370) --- frontend/src/graph/Graph.vue | 26 ++--- frontend/src/graph/ui/Chart.vue | 165 +++++++------------------------ frontend/src/graph/ui/Config.vue | 36 ++----- 3 files changed, 49 insertions(+), 178 deletions(-) diff --git a/frontend/src/graph/Graph.vue b/frontend/src/graph/Graph.vue index 3f2f4fe6..857755fd 100644 --- a/frontend/src/graph/Graph.vue +++ b/frontend/src/graph/Graph.vue @@ -2,20 +2,18 @@
@@ -36,26 +34,14 @@ export default { name: 'Graph', data() { return { - config: { - scale: 0.5, - }, - fitScreen: {fitScreen: false}, - download: {download: false}, + doDownload: false, curNode: {}, }; }, mounted() { autoAdjustHeight(); }, - methods: { - handleFitScreen() { - this.fitScreen = {fitScreen: true}; - this.config.scale = 0.5; - }, - handleDownload() { - this.download = {fitScreen: true}; - }, - }, + methods: {}, }; diff --git a/frontend/src/graph/ui/Chart.vue b/frontend/src/graph/ui/Chart.vue index 8a0b4f33..9d4237f4 100644 --- a/frontend/src/graph/ui/Chart.vue +++ b/frontend/src/graph/ui/Chart.vue @@ -1,73 +1,69 @@