 
     /// Zooms in or out by the given scale factor. x and y are the coordinates
     /// (in pixels) of the zoom center.
-    /// 
+    ///
     /// :param: scaleX if < 1f --> zoom out, if > 1f --> zoom in
     /// :param: scaleY if < 1f --> zoom out, if > 1f --> zoom in
     /// :param: x

    
    internal override func calcMinMax()
    {
        var minLeft = _data.getYMin(.Left);
        var maxLeft = _data.getYMax(.Left);
        var minRight = _data.getYMin(.Right);

    {
        return _leftAxis.isInverted || _rightAxis.isInverted;
    }
    
    /// flat that indicates if auto scaling on the y axis is enabled.
    /// if yes, the y axis automatically adjusts to the min and max y values of the current x axis range
    public var autoScaleMinMaxEnabled: Bool
        {
        get
        {
            return _autoScaleMinMaxEnabled;
        }
        set
        {
            if (_autoScaleMinMaxEnabled != newValue)
            {
                _autoScaleMinMaxEnabled = newValue;
            }
        }
    }
    
    /// returns true if autoScaleMinMax is enabled, false if no
    /// :default: false
    public var isAutoScaleMinMaxEnabled : Bool { return autoScaleMinMaxEnabled; }
}

/// Default formatter that calculates the position of the filled line.
