Fixed bullet charts (7 pixels for tickline)

This commit is contained in:
fermin831 2018-08-13 10:59:38 +02:00
parent 9dd9ad71a8
commit 9d4297356e
1 changed files with 2 additions and 2 deletions

View File

@ -142,10 +142,10 @@ d3.bullet = function() {
tickUpdate.select("line")
.attr("y1", height)
.attr("y2", height * 7 / 6);
.attr("y2", height + 7);
tickUpdate.select("text")
.attr("y", height * 7 / 6);
.attr("y", height + 7);
// Transition the exiting ticks to the new scale, x1.
tick.exit().transition()