From ab5a112c665c19c4a83f72d4757d878f969ad83c Mon Sep 17 00:00:00 2001 From: Jan Philipp Timme Date: Fri, 29 Dec 2017 23:24:57 +0100 Subject: [PATCH] Make tooltip readable for pitstops --- js/diagrams.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/diagrams.js b/js/diagrams.js index f3aec7e..d66ff98 100644 --- a/js/diagrams.js +++ b/js/diagrams.js @@ -261,7 +261,7 @@ function createLineGraph(containerId, raceData){ tooltipGroup.append("rect") .attr("style", "fill:rgb(225,225,225);stroke:black;stroke-width:2;") .attr("width", "150") - .attr("height", "80") + .attr("height", "100") .attr("x", function() { return x(d.lap) + 10; }) .attr("y", function() { return y(d.position) + 10; });