Make tooltip readable for pitstops

This commit is contained in:
Jan Philipp Timme 2017-12-29 23:24:57 +01:00
parent 8d77aea929
commit ab5a112c66

View File

@ -261,7 +261,7 @@ function createLineGraph(containerId, raceData){
tooltipGroup.append("rect") tooltipGroup.append("rect")
.attr("style", "fill:rgb(225,225,225);stroke:black;stroke-width:2;") .attr("style", "fill:rgb(225,225,225);stroke:black;stroke-width:2;")
.attr("width", "150") .attr("width", "150")
.attr("height", "80") .attr("height", "100")
.attr("x", function() { return x(d.lap) + 10; }) .attr("x", function() { return x(d.lap) + 10; })
.attr("y", function() { return y(d.position) + 10; }); .attr("y", function() { return y(d.position) + 10; });