     open var isDragEnabled: Bool
     {
         return dragEnabled
+    }
+    
+    /// is dragging on the X axis enabled?
+    open var dragXEnabled: Bool 
+    {
+        get
+        {
+            return _dragXEnabled
+        }
+        set
+        {
+            _dragXEnabled = newValue
+        }
+    }
+    
+    /// is dragging on the Y axis enabled?
+    open var dragYEnabled: Bool
+    {
+        get
+        {
+            return _dragYEnabled
+        }
+        set
+        {
+            _dragYEnabled = newValue
+        }
     }
     
     /// is scaling enabled? (zooming in and out by gesture) for the chart (this does not affect dragging).

        {
            stopDeceleration()
            
            if _data === nil
            { // If we have no data, we have nothing to pan and no data to highlight
                return
            }

        self.addGestureRecognizer(_panGestureRecognizer)
        
        _doubleTapGestureRecognizer.isEnabled = _doubleTapToZoomEnabled
        _panGestureRecognizer.isEnabled = _dragXEnabled || _dragYEnabled

        #if !os(tvOS)
            _pinchGestureRecognizer = NSUIPinchGestureRecognizer(target: self, action: #selector(BarLineChartViewBase.pinchGestureRecognized(_:)))
