if (_Y + rectBBox.y <= 0) { // check top
        _Y = -rectBBox.y;
        cache.labelY_ = (_Y - _this.yScale(cache.labelY0)) / viewHeight;
      } else if (_Y + offsetY > viewHeight) { //check bottom
        _Y = viewHeight - offsetY;