Sfoglia il codice sorgente

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

Srimanth Gunturi 12 anni fa
parent
commit
0368796c51
1 ha cambiato i file con 1 aggiunte e 3 eliminazioni
  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 {