function loadScale$1() {
    const {
      axisLeft: {
        scale: {
          name
        }
      }
    } = this._option;

    switch (name) {
      case 'scaleBand': {
        scaleBand$1.call(this);
        break;
      }
      case 'scaleLinear': {
        scaleLinear$1.call(this);
        break;
      }
      default: {
        throw new Error("Unrecognized scale name");
      }
    }
  }
/**
   * Load corresponding scale by name.
   */
Load corresponding scale by name.
Load corresponding scale by name .
function loadScale$1() {
    const {
      axisLeft: {
        scale: {
          name
        }
      }
    } = this._option;
    switch (name) {
      case 'scaleBand': {
        scaleBand$1.call(this);
        break;
      }
      case 'scaleLinear': {
        scaleLinear$1.call(this);
        break;
      }
      default: {
        throw new Error("Unrecognized scale name");
      }
    }
  }
function loadScale$1 ( ) { const { axisLeft : { scale : { name } } } = this . _option ; switch ( name ) { case 'scaleBand' : { scaleBand$1 . call ( this ) ; break ; } case 'scaleLinear' : { scaleLinear$1 . call ( this ) ; break ; } default : { throw new Error ( "Unrecognized scale name" ) ; } } }
Load corresponding scale by name.
Load corresponding scale by name .