diff --git a/lib/morris.grid.coffee b/lib/morris.grid.coffee index 0a74b98..a4bb73e 100644 --- a/lib/morris.grid.coffee +++ b/lib/morris.grid.coffee @@ -244,8 +244,7 @@ class Morris.Grid extends Morris.EventEmitter if @options.xLabelsDiagonal bottomOffsets = for i in [0...@data.length] @measureText(@data[i].text, @options.gridTextSize, -90).height - @maxXLabelHeight = Math.max(bottomOffsets...) - @bottom -= @maxXLabelHeight + @bottom -= Math.max(bottomOffsets...) else @bottom -= 1.5 * @options.gridTextSize @width = Math.max(1, @right - @left)