1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-30 22:21:13 +03:00

Keep bottom margins consistent on line graphs

This commit is contained in:
Joe Fiorini 2015-01-28 12:05:43 -05:00
parent 34e29a0421
commit 5ab6ed91fa

View File

@ -58,7 +58,7 @@ angular.module('DashboardGraphs')
});
job_status_chart = nv.models.lineChart()
.margin({top: 5, right: 75, bottom: 50, left: 85}) //Adjust chart margins to give the x-axis some breathing room.
.margin({top: 5, right: 75, bottom: 40, 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!
.showLegend(true) //Show the legend, allowing users to turn on/off line series.