added field selector to table panel, deprecated field panel

This commit is contained in:
Rashid Khan
2013-07-27 15:28:49 -07:00
parent 30b8de9aac
commit e993654c19
15 changed files with 154 additions and 126 deletions
+3 -3
View File
@@ -87,7 +87,7 @@ angular.module('kibana.pie', [])
}
$scope.panel.loading = true;
$scope.panelMeta.loading = true;
var request = $scope.ejs.Request().indices(dashboard.indices);
$scope.panel.queries.ids = querySrv.idsByMode($scope.panel.queries);
@@ -119,7 +119,7 @@ angular.module('kibana.pie', [])
// Populate scope when we have results
results.then(function(results) {
$scope.panel.loading = false;
$scope.panelMeta.loading = false;
$scope.hits = results.hits.total;
$scope.data = [];
var k = 0;
@@ -143,7 +143,7 @@ angular.module('kibana.pie', [])
results = request.doSearch();
results.then(function(results) {
$scope.panel.loading = false;
$scope.panelMeta.loading = false;
var complete = results.hits.total;
var remaining = $scope.panel.query.goal - complete;
$scope.data = [