From 85baae1ebdd939358ee97f72daaac13a3c5b5ac9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Fri, 11 Sep 2015 10:42:50 +0200 Subject: [PATCH] feat(influxdb): added back fill option to editor, forgot to add it in the new updated query editor --- .../influxdb/partials/query.editor.html | 17 +++++++++++++++++ .../plugins/datasource/influxdb/queryCtrl.js | 5 +++++ 2 files changed, 22 insertions(+) diff --git a/public/app/plugins/datasource/influxdb/partials/query.editor.html b/public/app/plugins/datasource/influxdb/partials/query.editor.html index 259cebb0c41..3d368f411d8 100644 --- a/public/app/plugins/datasource/influxdb/partials/query.editor.html +++ b/public/app/plugins/datasource/influxdb/partials/query.editor.html @@ -112,6 +112,23 @@ +
  • diff --git a/public/app/plugins/datasource/influxdb/queryCtrl.js b/public/app/plugins/datasource/influxdb/queryCtrl.js index 9d006c384f1..1d3f1771b47 100644 --- a/public/app/plugins/datasource/influxdb/queryCtrl.js +++ b/public/app/plugins/datasource/influxdb/queryCtrl.js @@ -199,6 +199,11 @@ function (angular, _, InfluxQueryBuilder) { .then(null, $scope.handleQueryError); }; + $scope.setFill = function(fill) { + $scope.target.fill = fill; + $scope.get_data(); + }; + $scope.tagSegmentUpdated = function(segment, index) { $scope.tagSegments[index] = segment;