_getAllScaleProps(props) {
    const defaultScaleProps = this._getDefaultScaleProps(props);
    const userScaleProps = extractScalePropsFromProps(props, ATTRIBUTES);
    const missingScaleProps = getMissingScaleProps(
      {
        ...defaultScaleProps,
        ...userScaleProps
      },
      props.data,
      ATTRIBUTES
    );

    return {
      ...defaultScaleProps,
      ...userScaleProps,
      ...missingScaleProps
    };
  }
Get the map of scales from the props.
@param {Object} props Props.
@param {Array} data Array of all data.
@returns {Object} Map of scales.
@private