mirror of
https://github.com/morrisjs/morris.js.git
synced 2024-11-10 21:36:34 +01:00
feature: optional xAxisLabelPadding
This commit is contained in:
parent
a738317adb
commit
b79e0be820
@ -56,7 +56,7 @@ class Morris.Bar extends Morris.Grid
|
|||||||
# @private
|
# @private
|
||||||
drawXAxis: ->
|
drawXAxis: ->
|
||||||
# draw x axis labels
|
# draw x axis labels
|
||||||
ypos = @bottom + @options.padding / 2
|
ypos = @bottom + (@options.xAxisLabelPadding || @options.padding / 2)
|
||||||
prevLabelMargin = null
|
prevLabelMargin = null
|
||||||
prevAngleMargin = null
|
prevAngleMargin = null
|
||||||
for i in [0...@data.length]
|
for i in [0...@data.length]
|
||||||
|
Loading…
Reference in New Issue
Block a user