mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 02:50:02 -03:30
fixed issue with job status graph xaxis disappearing on first filter
This commit is contained in:
parent
78b7fc19f8
commit
15a1420d4a
@ -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?
|
||||
|
||||
@ -26,6 +26,7 @@
|
||||
stroke-width: 1.5px;
|
||||
}
|
||||
|
||||
|
||||
.dashboard-jobs-list-container {
|
||||
border: 1px solid @grey;
|
||||
border-radius: 4px;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user