diff --git a/js/diagrams.js b/js/diagrams.js index d66ff98..acb0c0b 100644 --- a/js/diagrams.js +++ b/js/diagrams.js @@ -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] = {}; } });