Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-10-05 09:08:05 +0300
committerMike Greiling <mike@pixelcog.com>2017-10-05 09:08:05 +0300
commitb0e8d623b79f2a010616c51303c5db1cb25870e1 (patch)
tree5b5f1b5729ee506d8edff9f346b5b6959b623a1c /app/assets/javascripts/monitoring
parentf036d43be9cc6fb9a1b225f6c5ea2071bce190dd (diff)
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]);