Enable clipping for xAxis

This commit is contained in:
Jan Philipp Timme 2017-12-31 01:55:20 +01:00
parent cfd2f88c16
commit 44e8ccacfb
1 changed files with 2 additions and 1 deletions

View File

@ -287,6 +287,7 @@ function createLineGraph(containerId, raceData){
focus.append("g")
.attr("class", "axis axis--x")
.attr("transform", "translate(0," + graphPosWidth.height + ")")
.attr("clip-path","url(#clip)")
.call(xAxis);
// Add the Y Axis on both sides