Updated Branches: refs/heads/trunk fa0fc4ad1 -> 0368796c5
AMBARI-2700. Y-axis jumps (metrics graphs). (Andrii Babiichuk via srimanth) Project: http://git-wip-us.apache.org/repos/asf/incubator-ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ambari/commit/0368796c Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/0368796c Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/0368796c Branch: refs/heads/trunk Commit: 0368796c51589a83b1620db35f3f796fb5c04dfd Parents: fa0fc4a Author: Srimanth Gunturi <[email protected]> Authored: Tue Jul 23 13:17:19 2013 -0700 Committer: Srimanth Gunturi <[email protected]> Committed: Tue Jul 23 13:17:19 2013 -0700 ---------------------------------------------------------------------- ambari-web/app/views/common/chart/linear_time.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/0368796c/ambari-web/app/views/common/chart/linear_time.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/views/common/chart/linear_time.js b/ambari-web/app/views/common/chart/linear_time.js index c7afa8e..63f8795 100644 --- a/ambari-web/app/views/common/chart/linear_time.js +++ b/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 {
