Allow linepoints to scale

This commit is contained in:
Jan Philipp Timme 2017-12-31 00:28:17 +01:00
parent b299ab7eeb
commit b2bb2bc441
1 changed files with 1 additions and 0 deletions

View File

@ -523,6 +523,7 @@ function createLineGraph(containerId, raceData){
focus.selectAll(".pathLines").attr("d", lineDataDefinition);
focus.selectAll(".pitstopdot").attr("cx", function(d, i) {return x(d.lap) });
focus.selectAll(".endpointdot").attr("x", function(d, i) { return x(d.lap) - rectSize * 1/2; });
focus.selectAll(".linedot").attr("cx", function(d, i) {return x(d.lap) });
// Update xAxis
focus.select(".axis--x").call(xAxis);
// Update gridlines