From 15a1420d4afdd4f1f07b08f39cc1fdacafa4564a Mon Sep 17 00:00:00 2001 From: Jared Tabor Date: Wed, 23 Jul 2014 10:25:05 -0400 Subject: [PATCH] fixed issue with job status graph xaxis disappearing on first filter --- awx/ui/static/js/widgets/JobStatusGraph.js | 4 ++-- awx/ui/static/less/new-dashboard.less | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/awx/ui/static/js/widgets/JobStatusGraph.js b/awx/ui/static/js/widgets/JobStatusGraph.js index 43119f5365..c4381dd05c 100644 --- a/awx/ui/static/js/widgets/JobStatusGraph.js +++ b/awx/ui/static/js/widgets/JobStatusGraph.js @@ -125,9 +125,9 @@ angular.module('JobStatusGraphWidget', ['RestServices', 'Utilities']) nv.addGraph({ generate: function() { var width = $('.graph-container').width(), // nv.utils.windowSize().width/3, - height = $('.graph-container').height()*0.6, //nv.utils.windowSize().height/5, + height = $('.graph-container').height()*0.7, //nv.utils.windowSize().height/5, chart = nv.models.lineChart() - .margin({top: 5, right: 75, bottom: 40, left: 85}) //Adjust chart margins to give the x-axis some breathing room. + .margin({top: 5, right: 75, bottom: 80, left: 85}) //Adjust chart margins to give the x-axis some breathing room. .x(function(d,i) { return i; }) .useInteractiveGuideline(true) //We want nice looking tooltips and a guideline! .transitionDuration(350) //how fast do you want the lines to transition? diff --git a/awx/ui/static/less/new-dashboard.less b/awx/ui/static/less/new-dashboard.less index b34eac2d06..2560cca8c1 100644 --- a/awx/ui/static/less/new-dashboard.less +++ b/awx/ui/static/less/new-dashboard.less @@ -26,6 +26,7 @@ stroke-width: 1.5px; } + .dashboard-jobs-list-container { border: 1px solid @grey; border-radius: 4px;