     
     private var _lastPanPoint = CGPoint() /// This is to prevent using setTranslation which resets velocity
     
-    private var _deccelarationLastTime: NSTimeInterval = 0.0
-    private var _deccelarationDisplayLink: CADisplayLink!
-    private var _deccelarationVelocity = CGPoint()
+    private var _decelarationLastTime: NSTimeInterval = 0.0
+    private var _decelarationDisplayLink: CADisplayLink!
+    private var _decelarationVelocity = CGPoint()
     
     @objc private func tapGestureRecognized(recognizer: UITapGestureRecognizer)
     {

        {
            if (_isDragging)
            {
                if (recognizer.state == UIGestureRecognizerState.Ended && isDragDeccelarationEnabled)
                {
                    stopDecceleration();
                    
                    _deccelarationLastTime = CACurrentMediaTime();
                    _deccelarationVelocity = recognizer.velocityInView(self);
                    
                    _deccelarationDisplayLink = CADisplayLink(target: self, selector: Selector("deccelerationLoop"));
                    _deccelarationDisplayLink.addToRunLoop(NSRunLoop.mainRunLoop(), forMode: NSRunLoopCommonModes);
                }
                
                _isDragging = false;

    public var drawBordersEnabled = false
    
    /// If set to true, chart continues to scroll after touch up
    public var dragDecelarationEnabled = true
    
    /// Decelaration friction coefficient in [0 ; 1] interval, higher values indicate that speed will decrease slowly, for example if it set to 0, it will stop immediately, if set to 1, it will scroll with constant speed, until the last point
    private var _dragDecelarationFrictionCoef: CGFloat = 0.9
    
    /// the object representing the labels on the y-axis, this object is prepared
    /// in the pepareYLabels() method
