Do not add generic data points for pitstops
This commit is contained in:
parent
f5f04f273f
commit
73536d4871
@ -91,6 +91,8 @@ function createLineGraph(containerId, raceData){
|
|||||||
.on("click", handleClickOnPoint)
|
.on("click", handleClickOnPoint)
|
||||||
.on("mouseover", handleMouseOverLinePoint)
|
.on("mouseover", handleMouseOverLinePoint)
|
||||||
.on("mouseout", handleMouseOutLinePoint);
|
.on("mouseout", handleMouseOutLinePoint);
|
||||||
|
// Remove data from driverLapData, since we don't need a generic datapoint for this
|
||||||
|
driverLapData.laps[singleLapIndex] = {};
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user