Explorar o código

AMBARI-2700. Y-axis jumps (metrics graphs). (Andrii Babiichuk via srimanth)

Srimanth Gunturi %!s(int64=12) %!d(string=hai) anos
pai
achega
0368796c51
Modificáronse 1 ficheiros con 1 adicións e 3 borrados
  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.draw(seriesData);
         this.set('hasData', true);
         this.set('hasData', true);
           //move yAxis value lower to make them fully visible
           //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 {
     else {