We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c1264ca + c9820c2 commit 4580852Copy full SHA for 4580852
lib/morris.bar.coffee
@@ -56,7 +56,7 @@ class Morris.Bar extends Morris.Grid
56
# @private
57
drawXAxis: ->
58
# draw x axis labels
59
- ypos = @bottom + @options.padding / 2
+ ypos = @bottom + (@options.xAxisLabelTopPadding || @options.padding / 2)
60
prevLabelMargin = null
61
prevAngleMargin = null
62
for i in [0...@data.length]
0 commit comments