Components Interactions Examples Tutorials API FAQ
Options
Menu

Interface Animator

Hierarchy

  • Animator

Implemented by

Index

Methods

Methods

animate

  • Applies the supplied attributes to a d3.Selection with some animation.

    Parameters

    • selection: Selection<any>

      The update selection or transition selection that we wish to animate.

    • attrToAppliedProjector: AttributeToAppliedProjector

      The set of AppliedProjectors that we will use to set attributes on the selection.

    Returns Selection<any> | Transition<any>

    Animators should return the selection or transition object so that plots may chain the transitions between animators.

totalTime

  • totalTime(numberOfIterations: number): number
  • Given the number of elements, return the total time the animation requires

    Parameters

    • numberOfIterations: number

    Returns number

Generated using TypeDoc