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

SCINumericDeltaCalculatorBase

@interface SCINumericDeltaCalculatorBase : NSObject <ISCIDeltaCalculator>

Defines a base class for Numeric Delta Calculator.

  • Calculates axis delta for specified arguments passed in.

    Declaration

    Objective-C

    - (nonnull id<ISCIAxisDelta>)
        calculateDeltaInternalWithMin:(double)min
                                  max:(double)max
                       minorsPerMajor:(unsigned int)minorsPerMajor
                             maxTicks:(unsigned int)maxTicks;

    Swift

    func calculateDeltaInternal(withMin min: Double, max: Double, minorsPerMajor: UInt32, maxTicks: UInt32) -> ISCIAxisDelta

    Parameters

    min

    The axis VisibleRange min value

    max

    The axis VisibleRange max value

    minorsPerMajor

    The number of Minor Delta ticks per Major Tick.

    maxTicks

    The max ticks.

    Return Value

    The ISCIAxisDelta instance.