summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/monitoring
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-10-05 01:08:05 -0500
committerMike Greiling <mike@pixelcog.com>2017-10-05 01:08:05 -0500
commitb0e8d623b79f2a010616c51303c5db1cb25870e1 (patch)
tree5b5f1b5729ee506d8edff9f346b5b6959b623a1c /app/assets/javascripts/monitoring
parentf036d43be9cc6fb9a1b225f6c5ea2071bce190dd (diff)
downloadgitlab-ce-b0e8d623b79f2a010616c51303c5db1cb25870e1.tar.gz
fix x-axis pixel scale to account for transform x-offset
Diffstat (limited to 'app/assets/javascripts/monitoring')
-rw-r--r--app/assets/javascripts/monitoring/components/graph.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/monitoring/components/graph.vue b/app/assets/javascripts/monitoring/components/graph.vue
index eb1eb6f1143..f1792749936 100644
--- a/app/assets/javascripts/monitoring/components/graph.vue
+++ b/app/assets/javascripts/monitoring/components/graph.vue
@@ -153,7 +153,7 @@
}
const axisXScale = d3.time.scale()
- .range([0, this.graphWidth]);
+ .range([0, this.graphWidth - 70]);
const axisYScale = d3.scale.linear()
.range([this.graphHeight - this.graphHeightOffset, 0]);