From 29cc71194ac5f3271ca875e3c5e9f2548fd0468e Mon Sep 17 00:00:00 2001 From: Hyungu Roh Date: Thu, 28 May 2015 11:23:12 +0900 Subject: [PATCH] Fix abnormal height of chart in IE --- zeppelin-web/app/scripts/controllers/paragraph.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zeppelin-web/app/scripts/controllers/paragraph.js b/zeppelin-web/app/scripts/controllers/paragraph.js index f9b77e8b9cb..bb8e19d984f 100644 --- a/zeppelin-web/app/scripts/controllers/paragraph.js +++ b/zeppelin-web/app/scripts/controllers/paragraph.js @@ -912,11 +912,11 @@ angular.module('zeppelinWebApp') var chartEl = d3.select('#p'+$scope.paragraph.id+'_'+type+' svg') .attr('height', $scope.paragraph.config.graph.height) + .style('height', height + 'px') .datum(d3g) .transition() .duration(animationDuration) .call($scope.chart[type]); - d3.select('#p'+$scope.paragraph.id+'_'+type+' svg').style.height = height+'px'; nv.utils.windowResize($scope.chart[type].update); };