Procházet zdrojové kódy

fixed 0 height bars

Rashid Khan před 12 roky
rodič
revize
ada84c40f5
2 změnil soubory, kde provedl 1 přidání a 2 odebrání
  1. 0 1
      js/services.js
  2. 1 1
      panels/histogram/module.js

+ 0 - 1
js/services.js

@@ -53,7 +53,6 @@ angular.module('kibana.services', [])
         self.map(indices).then(function(result) {
           self.mapping = _.extend(self.mapping,result);
           self.list = mapFields(self.mapping);
-          console.log(self.mapping);
         });
       // Otherwise just use the cached mapping
       } else {

+ 1 - 1
panels/histogram/module.js

@@ -342,7 +342,7 @@ angular.module('kibana.histogram', [])
                   lineWidth: scope.panel.linewidth,
                   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},
                 shadowSize: 1
               },