Make tooltip readable for pitstops
This commit is contained in:
parent
8d77aea929
commit
ab5a112c66
@ -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; });
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user