src/views/Flat.js
function(min, max) {
    return function limitX(params) {
      params.x = clamp(params.x, min, max);
      return params;
    };
  }
function(min, max) {
    return function limitX(params) {
      params.x = clamp(params.x, min, max);
      return params;
    };
  }
function ( min , max ) { return function limitX ( params ) { params . x = clamp ( params . x , min , max ) ; return params ; } ; }
Returns a view limiter that constrains the x parameter.
@param {number} min The minimum x value.
@param {number} max The maximum y value.
@return {FlatViewLimiter}
Returns a view limiter that constrains the x parameter .