diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-10-05 09:08:05 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-10-05 09:08:05 +0300 |
commit | b0e8d623b79f2a010616c51303c5db1cb25870e1 (patch) | |
tree | 5b5f1b5729ee506d8edff9f346b5b6959b623a1c /app/assets/javascripts/monitoring | |
parent | f036d43be9cc6fb9a1b225f6c5ea2071bce190dd (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.vue | 2 |
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]); |