Nativescript plugin for Charts
    Preparing search index...
    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    • Parameters

      • Optionallistener: (state: any) => void

      Returns ChartAnimator

    Properties

    mPhaseX: number

    The phase of drawn values on the x-axis. 0 - 1

    mPhaseY: number

    The phase of drawn values on the y-axis. 0 - 1

    Accessors

    • get phaseX(): number

      Gets the X axis phase of the animation.

      Returns number

      let value of #mPhaseX

    • set phaseX(phase: number): void

      Sets the X axis phase of the animation.

      Parameters

      • phase: number

        let value between 0 - 1

      Returns void

    • get phaseY(): number

      Gets the Y axis phase of the animation.

      Returns number

      let value of #mPhaseY

    • set phaseY(phase: number): void

      Sets the Y axis phase of the animation.

      Parameters

      • phase: number

        let value between 0 - 1

      Returns void

    Methods

    • Animates values along the X axis.

      Parameters

      • durationMillis: any

        animation duration

      • Optionaleasing: EasingFunction

        EasingFunction

      Returns void

    • Animates values along both the X and Y axes.

      Parameters

      • durationMillisX: any

        animation duration along the X axis

      • durationMillisY: any

        animation duration along the Y axis

      • OptionaleasingX: EasingFunction

        EasingFunction for the X axis

      • OptionaleasingY: EasingFunction

        EasingFunction for the Y axis

      Returns void

    • Animates values along the Y axis.

      Parameters

      • durationMillis: any

        animation duration

      • Optionaleasing: EasingFunction

        EasingFunction

      Returns void