فهرست منبع

Fixed render issue when resizing rows

Rashid Khan 13 سال پیش
والد
کامیت
6ddb642790
4فایلهای تغییر یافته به همراه4 افزوده شده و 4 حذف شده
  1. 0 1
      panels/dashcontrol/module.js
  2. 1 1
      panels/histogram/module.html
  3. 2 1
      panels/histogram/module.js
  4. 1 1
      panels/pie/module.html

+ 0 - 1
panels/dashcontrol/module.js

@@ -116,7 +116,6 @@ angular.module('kibana.dashcontrol', [])
   }
 
   $scope.elasticsearch_save = function(type) {
-    console.log(type)
     // Clone object so we can modify it without influencing the existing obejct
     var save = _.clone($scope.dashboards)
     

+ 1 - 1
panels/histogram/module.html

@@ -1,3 +1,3 @@
 <kibana-panel ng-controller='histogram' style="height:{{row.height}}">
-  <div histogram params="{{panel}}" style="height:{{row.height}}"></div>
+  <div histogram params="{{panel}}" style="height:{{row.height}};position:relative"></div>
 </kibana-panel>         

+ 2 - 1
panels/histogram/module.js

@@ -105,7 +105,8 @@ angular.module('kibana.histogram', [])
           data: {
             label: $scope.panel.query[k].label || k, 
             data: data,
-          }
+          },
+
         };
 
         if (!(_.isUndefined($scope.panel.query[k].color)))

+ 1 - 1
panels/pie/module.html

@@ -1,3 +1,3 @@
 <kibana-panel ng-controller='pie'>
-  <div pie params="{{panel}}" style="height:{{row.height}}"></div>
+  <div pie params="{{panel}}" style="height:{{row.height}};position:relative"></div>
 </kibana-panel>