_getScaleDistance(attr) {
    const scaleObject = getScaleObjectFromProps(this.props, attr);
    return scaleObject ? scaleObject.distance : 0;
  }
Get the scale object distance by the attribute from the list of properties.
@param {string} attr Attribute name.
@returns {number} Scale distance.
@protected