Remove label for small xaxis completely
This commit is contained in:
parent
94ea4257a2
commit
cfd2f88c16
|
@ -105,10 +105,11 @@ function createLineGraph(containerId, raceData){
|
||||||
|
|
||||||
// -----------------------------------------------------------------------
|
// -----------------------------------------------------------------------
|
||||||
|
|
||||||
|
var contextXAxis = d3.axisBottom(x2).tickValues(0);
|
||||||
context.append("g")
|
context.append("g")
|
||||||
.attr("class", "axis axis--x")
|
.attr("class", "axis axis--x")
|
||||||
.attr("transform", "translate(0," + smallGraphPosWidth.height + ")")
|
.attr("transform", "translate(0," + smallGraphPosWidth.height + ")")
|
||||||
.call(d3.axisBottom(x2));
|
.call(contextXAxis);
|
||||||
|
|
||||||
context.append("g")
|
context.append("g")
|
||||||
.attr("class", "brush")
|
.attr("class", "brush")
|
||||||
|
|
Loading…
Reference in New Issue