fixed issue with job status graph xaxis disappearing on first filter

This commit is contained in:
Jared Tabor 2014-07-23 10:25:05 -04:00
parent 78b7fc19f8
commit 15a1420d4a
2 changed files with 3 additions and 2 deletions

View File

@ -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?

View File

@ -26,6 +26,7 @@
stroke-width: 1.5px;
}
.dashboard-jobs-list-container {
border: 1px solid @grey;
border-radius: 4px;