iOS Charting Documentation - SciChart iOS Charts SDK v3.x

SCIEasingFunctionBase

@interface SCIEasingFunctionBase : NSObject <ISCIEasingFunction>

Defines the Base class for easing functions in SciChart.

  • Specifies the easing behavior.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite)
        SCIEasingMode easingMode;

    Swift

    var easingMode: SCIEasingMode { get set }
  • Transforms normalized time to control the pace of an animation for the SCIEasingMode_EaseIn.

    Note

    You only have to specifiy your easing function for the ‘SCIEasingMode.SCIEasingMode_EaseIn’ case because the implementation of Ease will handle transforming normalizedTime & the result of this method to handle SCIEasingMode.SCIEasingMode_EaseOut & SCIEasingMode.SCIEasingMode_EaseInOut.

    Declaration

    Objective-C

    - (double)easeInInternalWithNormalizedTime:(double)normalizedTime;

    Swift

    func easeInInternal(withNormalizedTime normalizedTime: Double) -> Double

    Parameters

    normalizedTime

    The progress of the animation.

    Return Value

    Transformed progress of animation.