Remove label for small xaxis completely

This commit is contained in:
Jan Philipp Timme 2017-12-31 01:48:35 +01:00
parent 94ea4257a2
commit cfd2f88c16
1 changed files with 2 additions and 1 deletions

View File

@ -105,10 +105,11 @@ function createLineGraph(containerId, raceData){
// -----------------------------------------------------------------------
var contextXAxis = d3.axisBottom(x2).tickValues(0);
context.append("g")
.attr("class", "axis axis--x")
.attr("transform", "translate(0," + smallGraphPosWidth.height + ")")
.call(d3.axisBottom(x2));
.call(contextXAxis);
context.append("g")
.attr("class", "brush")