mirror of
https://github.com/morrisjs/morris.js.git
synced 2024-11-13 07:11:12 +01:00
feature: optional xAxisLabelPadding
This commit is contained in:
parent
a738317adb
commit
b79e0be820
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ class Morris.Bar extends Morris.Grid
|
|||
# @private
|
||||
drawXAxis: ->
|
||||
# draw x axis labels
|
||||
ypos = @bottom + @options.padding / 2
|
||||
ypos = @bottom + (@options.xAxisLabelPadding || @options.padding / 2)
|
||||
prevLabelMargin = null
|
||||
prevAngleMargin = null
|
||||
for i in [0...@data.length]
|
||||
|
|
Loading…
Reference in a new issue