iOS Charting Documentation - SciChart iOS Charts SDK v3.x

ISCIEasingFunction

@protocol ISCIEasingFunction <NSObject>

This protocol represents a transformation of normalizedTime. Animations use it to transform their progress before computing an interpolation.

Note

Classes that implement this interface can control the pace at which an animation is performed.
  • Transforms normalized time to control the pace of an animation.

    Declaration

    Objective-C

    - (double)easeWithNormalizedTime:(double)normalizedTime;

    Swift

    func ease(withNormalizedTime normalizedTime: Double) -> Double

    Parameters

    normalizedTime

    The progress of the animation.

    Return Value

    Transformed progress of animation.