Commit b0e8d623 authored by Mike Greiling's avatar Mike Greiling

fix x-axis pixel scale to account for transform x-offset

parent f036d43b
...@@ -153,7 +153,7 @@ ...@@ -153,7 +153,7 @@
} }
const axisXScale = d3.time.scale() const axisXScale = d3.time.scale()
.range([0, this.graphWidth]); .range([0, this.graphWidth - 70]);
const axisYScale = d3.scale.linear() const axisYScale = d3.scale.linear()
.range([this.graphHeight - this.graphHeightOffset, 0]); .range([this.graphHeight - this.graphHeightOffset, 0]);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment