iOS Charting Documentation - SciChart iOS Charts SDK v3.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

    - (id<ISCIRange>)getWindowedYRangeWithXCalculators:
        (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.