mirror of
https://github.com/ansible/awx.git
synced 2026-03-09 05:29:26 -02:30
fixed issue with job status graph xaxis disappearing on first filter
This commit is contained in:
@@ -125,9 +125,9 @@ angular.module('JobStatusGraphWidget', ['RestServices', 'Utilities'])
|
|||||||
nv.addGraph({
|
nv.addGraph({
|
||||||
generate: function() {
|
generate: function() {
|
||||||
var width = $('.graph-container').width(), // nv.utils.windowSize().width/3,
|
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()
|
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; })
|
.x(function(d,i) { return i; })
|
||||||
.useInteractiveGuideline(true) //We want nice looking tooltips and a guideline!
|
.useInteractiveGuideline(true) //We want nice looking tooltips and a guideline!
|
||||||
.transitionDuration(350) //how fast do you want the lines to transition?
|
.transitionDuration(350) //how fast do you want the lines to transition?
|
||||||
|
|||||||
@@ -26,6 +26,7 @@
|
|||||||
stroke-width: 1.5px;
|
stroke-width: 1.5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.dashboard-jobs-list-container {
|
.dashboard-jobs-list-container {
|
||||||
border: 1px solid @grey;
|
border: 1px solid @grey;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
|
|||||||
Reference in New Issue
Block a user