static _getDefaultScaleProps(props) {
    const {innerWidth, innerHeight} = getInnerDimensions(
      props,
      DEFAULT_MARGINS
    );

    const colorRanges = ['color', 'fill', 'stroke'].reduce((acc, attr) => {
      const range =
        props[`${attr}Type`] === 'category'
          ? EXTENDED_DISCRETE_COLOR_RANGE
          : CONTINUOUS_COLOR_RANGE;
      return {...acc, [`${attr}Range`]: range};
    }, {});

    return {
      xRange: [0, innerWidth],
      yRange: [innerHeight, 0],
      ...colorRanges,
      opacityType: OPACITY_TYPE,
      sizeRange: SIZE_RANGE
    };
  }
Get the list of scale-related settings that should be applied by default.
@param {Object} props Object of props.
@returns {Object} Defaults.
@private