                 let didUserDrag = (self is HorizontalBarChartView) ? translation.y != 0.0 : translation.x != 0.0
                 
                 // Check to see if user dragged at all and if so, can the chart be dragged by the given amount
-                let didPan = performPanChange(translation: translation)
-                if (didUserDrag && !(didPan.x || didPan.y))
+                if (didUserDrag && !performPanChange(translation: translation))
                 {
                     if (_outerScrollView !== nil)
                     {

        }
        
        // Did we managed to actually drag or did we reach the edge?
        return (matrix.tx != originalMatrix.tx, matrix.ty != originalMatrix.ty)
    }
    
    public func stopDeceleration()

            x: _decelerationVelocity.x * timeInterval,
            y: _decelerationVelocity.y * timeInterval
        )
        
        if (!performPanChange(translation: distance))
        {
            // We reached the edge, stop
            _decelerationVelocity.x = 0.0
            _decelerationVelocity.y = 0.0
        }
        
