diff --git a/bower.json b/bower.json index 50eb05342b..b2b574369d 100644 --- a/bower.json +++ b/bower.json @@ -58,7 +58,9 @@ "webcomponentsjs": "^1.0.10", "chart.js": "~2.7.1", "moment": "^2.20.0", - "chartjs-chart-timeline": "fanthos/chartjs-chart-timeline#^0.1.3" + "chartjs-chart-timeline": "fanthos/chartjs-chart-timeline#^0.1.3", + "chartjs-plugin-zoom": "^0.6.3", + "hammerjs": "^2.0.8" }, "devDependencies": { "web-component-tester": "^6.3.0" diff --git a/src/components/entity/ha-chart-base.html b/src/components/entity/ha-chart-base.html index 2061e5d796..dd5dbeef23 100644 --- a/src/components/entity/ha-chart-base.html +++ b/src/components/entity/ha-chart-base.html @@ -64,6 +64,9 @@ margin-right: 6px; width: 10px; } + .chartZoomInline { + float: right; + } +
@@ -98,7 +109,7 @@ + +