Is there any possibility to limit the number of d3.svg.axis integer labels displayed on the graph? Take for instance this graph. There are only 5 sizes here: [0, 1, 2, 3, 4]
. However, the ticks are also displayed for .5, 1.5, 2.5
and 3.5
.
Is there any possibility to limit the number of d3.svg.axis integer labels displayed on the graph? Take for instance this graph. There are only 5 sizes here: [0, 1, 2, 3, 4]
. However, the ticks are also displayed for .5, 1.5, 2.5
and 3.5
.