Commit 6ddb6427 by Rashid Khan

Fixed render issue when resizing rows

parent 107cf6b8
...@@ -116,7 +116,6 @@ angular.module('kibana.dashcontrol', []) ...@@ -116,7 +116,6 @@ angular.module('kibana.dashcontrol', [])
} }
$scope.elasticsearch_save = function(type) { $scope.elasticsearch_save = function(type) {
console.log(type)
// Clone object so we can modify it without influencing the existing obejct // Clone object so we can modify it without influencing the existing obejct
var save = _.clone($scope.dashboards) var save = _.clone($scope.dashboards)
......
<kibana-panel ng-controller='histogram' style="height:{{row.height}}"> <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> </kibana-panel>
\ No newline at end of file
...@@ -105,7 +105,8 @@ angular.module('kibana.histogram', []) ...@@ -105,7 +105,8 @@ angular.module('kibana.histogram', [])
data: { data: {
label: $scope.panel.query[k].label || k, label: $scope.panel.query[k].label || k,
data: data, data: data,
} },
}; };
if (!(_.isUndefined($scope.panel.query[k].color))) if (!(_.isUndefined($scope.panel.query[k].color)))
......
<kibana-panel ng-controller='pie'> <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> </kibana-panel>
\ No newline at end of file
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