iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x

ISCIRangeCalculationHelper

@protocol ISCIRangeCalculationHelper <ISCIRangeCalculationHelperBase>

Defines a set of operations for calculation of visible range for axis that owns current instance of ISCIRangeCalculationHelperBase.

  • Returns the max range only for that axis (by the data-series on it), based on xRanges.

    Note

    “Windowed” means - displayed in current viewport.

    Note

    It uses ISCIAxisCore.growBy.

    Declaration

    Objective-C

    - (nonnull id<ISCIRange>)getWindowedYRangeWithXCalculators:
        (nullable NSDictionary<NSString *, id<ISCICoordinateCalculator>> *)
            xCoordCalcs;

    Swift

    func getWindowedYRange(withXCalculators xCoordCalcs: [String : Any]?) -> ISCIRange

    Parameters

    xCoordCalcs

    Calculates the max range based on corresponding x coordinate calculators.

    Return Value

    The calculated windowed yRange.