Options
All
  • Public
  • Public/Protected
  • All
Menu

A class for animating a value of type NumberRange. Used throughout SciChart to animate AxisCore.visibleRange when zooming or panning.

Hierarchy

  • NumberRangeAnimator

Index

Methods

Static animate

  • Animates a NumberRange with a start, to value over a specified duration and with an optional completed and easing function

    Parameters

    • from: NumberRange

      The start value to animate

    • to: NumberRange

      The end value to animate

    • durationMs: number

      The duration of the animation in milliseconds

    • onAnimate: (value: NumberRange) => void

      A callback function which is called with intermediate values

    • onCompleted: () => void

      A callback function which is called when the animation completes

        • (): void
        • Returns void

    • Default value easingFunction: TEasingFn = easing.outExpo

      An optional easing function. See IEasingMap for a list of values

    • Default value isLog: boolean = false

    Returns GenericAnimation<NumberRange>

Static interpolate

Static interpolateLog

Generated using TypeDoc