Skip to content

Commit

Permalink
adds small buffer to axis tick label wrapping
Browse files Browse the repository at this point in the history
  • Loading branch information
davelandry committed May 31, 2016
1 parent a83ba29 commit 794a279
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/viz/types/helpers/graph/includes/svg.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ module.exports = (vars) ->
.rotate(vars[axis].ticks.rotate)
.align(if rotated then "end" else "center")
.valign(if rotated then "middle" else if axis is "x" then "top" else "bottom")
.width(vars[axis].ticks.maxWidth)
.width(vars[axis].ticks.maxWidth + 2)
.height(vars[axis].ticks.maxHeight)
.padding(0)
.x(-vars[axis].ticks.maxWidth/2)
Expand Down

0 comments on commit 794a279

Please sign in to comment.