Fix legend _requestSpace call.

Not understanding this line Math.max(this._scale.domain().length / this._maxEntriesPerRow, 0)

length / _maxEntriesPerRow should always be positive