         }
     }
     
-    private func performPanChange(var translation translation: CGPoint) -> (x: Bool, y: Bool)
+    private func performPanChange(var translation translation: CGPoint) -> Bool
     {
         if (isAnyAxisInverted && _closestDataSetToTouch !== nil
             && getAxis(_closestDataSetToTouch.axisDependency).isInverted)

                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 (_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()
