mirror of
https://github.com/ansible/awx.git
synced 2026-01-17 04:31:21 -03:30
Correctly select axes on graphs
This commit is contained in:
parent
f3b1bd0a75
commit
34e29a0421
@ -22,11 +22,11 @@ angular.module('DashboardGraphs').
|
||||
chartModel.yAxis.ticks(Math.max(height / 50, 2));
|
||||
|
||||
if (height < 160) {
|
||||
graph.select('.y.axis').select('.domain').style('display', 'none');
|
||||
graph.select('.y.axis').select('.domain').style('display', 'initial');
|
||||
graph.select('.y.nv-axis').select('.domain').style('display', 'none');
|
||||
graph.select('.y.nv-axis').select('.domain').style('display', 'initial');
|
||||
}
|
||||
|
||||
graph.select('.x.axis')
|
||||
graph.select('.x.nv-axis')
|
||||
.attr('transform', 'translate(0, ' + height + ')')
|
||||
.call(chartModel.xAxis);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user