From 4c6d9602aeda8c9a22c43f69be120f85834b50c9 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Fri, 27 Apr 2018 14:09:25 -0400 Subject: [PATCH] Remove zoom plugin (#1104) --- bower.json | 4 +- panels/history/ha-panel-history.html | 3 +- src/cards/ha-history_graph-card.html | 3 +- src/components/entity/ha-chart-base.html | 84 +------------------ src/components/state-history-chart-line.html | 2 - src/components/state-history-charts.html | 2 - src/dialogs/more-info/more-info-controls.html | 1 - src/resources/ha-chart-scripts.html | 4 +- 8 files changed, 5 insertions(+), 98 deletions(-) diff --git a/bower.json b/bower.json index 9e24999fc2..c1a4c8d271 100644 --- a/bower.json +++ b/bower.json @@ -58,9 +58,7 @@ "webcomponentsjs": "^1.0.10", "chart.js": "~2.7.2", "moment": "^2.20.0", - "chartjs-chart-timeline": "fanthos/chartjs-chart-timeline#^0.1.5", - "chartjs-plugin-zoom": "^0.6.3", - "hammerjs": "^2.0.8" + "chartjs-chart-timeline": "fanthos/chartjs-chart-timeline#^0.1.5" }, "devDependencies": { "web-component-tester": "^6.3.0" diff --git a/panels/history/ha-panel-history.html b/panels/history/ha-panel-history.html index 7fd7b47312..9f074eb30f 100644 --- a/panels/history/ha-panel-history.html +++ b/panels/history/ha-panel-history.html @@ -84,8 +84,7 @@ history-data="[[stateHistory]]" is-loading-data="[[isLoadingData]]" end-time="[[endTime]]" - no-single - is-zoomable> + no-single> diff --git a/src/cards/ha-history_graph-card.html b/src/cards/ha-history_graph-card.html index 2ba69dd0b6..e16f2cdfa8 100644 --- a/src/cards/ha-history_graph-card.html +++ b/src/cards/ha-history_graph-card.html @@ -48,8 +48,7 @@ history-data="[[stateHistory]]" is-loading-data="[[stateHistoryLoading]]" up-to-now - no-single - is-zoomable="[[inDialog]]"> + no-single> diff --git a/src/components/entity/ha-chart-base.html b/src/components/entity/ha-chart-base.html index 6a69da1293..fbab75218a 100644 --- a/src/components/entity/ha-chart-base.html +++ b/src/components/entity/ha-chart-base.html @@ -102,14 +102,6 @@ -
@@ -130,7 +122,7 @@ - -