Do not add generic data points for pitstops

This commit is contained in:
Jan Philipp Timme 2017-12-29 23:48:22 +01:00
parent f5f04f273f
commit 73536d4871
1 changed files with 2 additions and 0 deletions

View File

@ -91,6 +91,8 @@ function createLineGraph(containerId, raceData){
.on("click", handleClickOnPoint)
.on("mouseover", handleMouseOverLinePoint)
.on("mouseout", handleMouseOutLinePoint);
// Remove data from driverLapData, since we don't need a generic datapoint for this
driverLapData.laps[singleLapIndex] = {};
}
});