Fix weird scaling

This commit is contained in:
Jan Philipp Timme 2017-12-30 19:44:51 +01:00
parent 89c770a308
commit ad0a44ca3e
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ function createLineGraph(containerId, raceData){
// set the ranges
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]),
y2 = d3.scaleLinear().range([height2, 0]);