AnimationType

public enum AnimationType : Hashable

Controls which animations will be used.

When using a line chart .draw is probably the right one to choose.

When using on a filled line chart or on bar charts .raise is probably the right one to choose.

case draw // Draws the line using `.trim`.
case raise // Animates using `.scale`.
  • Draws the line using .trim.

    Declaration

    Swift

    case draw
  • Animates using .scale.

    Declaration

    Swift

    case raise