瀏覽代碼

Merge branch 'trunk' of https://git-wip-us.apache.org/repos/asf/incubator-ambari into trunk

tbeerbower 12 年之前
父節點
當前提交
aa31e2ccb5
共有 1 個文件被更改,包括 1 次插入3 次删除
  1. 1 3
      ambari-web/app/views/common/chart/linear_time.js

+ 1 - 3
ambari-web/app/views/common/chart/linear_time.js

@@ -353,9 +353,7 @@ App.ChartLinearTimeView = Ember.View.extend({
         this.draw(seriesData);
         this.set('hasData', true);
           //move yAxis value lower to make them fully visible
-          if(!this.get('isPopup')) {
-              $('svg.y_axis text').attr('y',8);
-          }
+        $("#" + this.id + "-container").find('.y_axis text').attr('y',8);
       }
     }
     else {