Fix weird scaling
This commit is contained in:
parent
89c770a308
commit
ad0a44ca3e
|
@ -40,7 +40,7 @@ function createLineGraph(containerId, raceData){
|
||||||
|
|
||||||
// set the ranges
|
// set the ranges
|
||||||
var x = d3.scaleLinear().range([0, width]),
|
var x = d3.scaleLinear().range([0, width]),
|
||||||
x2 = d3.scaleTime().range([0, width]),
|
x2 = d3.scaleLinear().range([0, width]),
|
||||||
y = d3.scaleLinear().range([height, 0]),
|
y = d3.scaleLinear().range([height, 0]),
|
||||||
y2 = d3.scaleLinear().range([height2, 0]);
|
y2 = d3.scaleLinear().range([height2, 0]);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue