it is actually only top padding

This commit is contained in:
sudodoki 2013-10-26 00:49:14 +03:00
parent b79e0be820
commit c9820c2d44

View File

@ -56,7 +56,7 @@ class Morris.Bar extends Morris.Grid
# @private
drawXAxis: ->
# draw x axis labels
ypos = @bottom + (@options.xAxisLabelPadding || @options.padding / 2)
ypos = @bottom + (@options.xAxisLabelTopPadding || @options.padding / 2)
prevLabelMargin = null
prevAngleMargin = null
for i in [0...@data.length]