Commit 2d6803cd by Rashid Khan

fixed 0 height bars

parent 7a11d35f
...@@ -53,7 +53,6 @@ angular.module('kibana.services', []) ...@@ -53,7 +53,6 @@ angular.module('kibana.services', [])
self.map(indices).then(function(result) { self.map(indices).then(function(result) {
self.mapping = _.extend(self.mapping,result); self.mapping = _.extend(self.mapping,result);
self.list = mapFields(self.mapping); self.list = mapFields(self.mapping);
console.log(self.mapping);
}); });
// Otherwise just use the cached mapping // Otherwise just use the cached mapping
} else { } else {
......
...@@ -342,7 +342,7 @@ angular.module('kibana.histogram', []) ...@@ -342,7 +342,7 @@ angular.module('kibana.histogram', [])
lineWidth: scope.panel.linewidth, lineWidth: scope.panel.linewidth,
steps: false steps: false
}, },
bars: { show: scope.panel.bars, fill: 1, barWidth: barwidth/1.8, zero: false }, bars: { show: scope.panel.bars, fill: 1, lineWidth:0, barWidth: barwidth/1.7, zero: false },
points: { show: scope.panel.points, fill: 1, fillColor: false, radius: 5}, points: { show: scope.panel.points, fill: 1, fillColor: false, radius: 5},
shadowSize: 1 shadowSize: 1
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment