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

SCIBounceEase

@interface SCIBounceEase : SCIEasingFunctionBase

Defines an easing function that can be used to simulate bouncing.

  • Specifies the number of bounces. This does not include the final half bounce.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite) int bounces;

    Swift

    var bounces: Int32 { get set }
  • Specifies the amount of bounciness. This corresponds to the scale difference between a bounce and the next bounce.

    Note

    For example, bounciness = 2.0 corresponds to the next bounce being twices as high and taking twice as long.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite) double bounciness;

    Swift

    var bounciness: Double { get set }