GraphAnimation QML Type | Qt Graphs | Qt 6.12.0
Description: The GraphAnimation type is the base type for all animations for 2D Qt Graphs series.
Keywords: qmltype

- Qt 6.12
- Qt Graphs
- QML Types
- QtGraphs
- GraphAnimation
- Qt Graphs | Commercial or GPLv3

# GraphAnimation QML Type

The GraphAnimation type is the base type for all animations for 2D Qt Graphs series. More...

Import Statement: | `import QtGraphs`
Inherited By: | GraphPointAnimation, SplineControlAnimation, and XYSeriesAnimation

- List of all members, including inherited members
- GraphAnimation is part of Qt Graphs QML Types for 2D.

## Properties

- AnimationState : enumeration
- GraphAnimationType : enumeration
- animating : GraphAnimation::AnimationState

## Detailed Description

GraphAnimation is based on VariantAnimation and provides an interface for interpolation for child animations. This type is an abstract type and doesn't have any default implementation for interpolation. Its derived types should be used for the respective animations, such as GraphPointAnimation, SplineControlAnimation.

## Property Documentation

### AnimationState : enumeration

Animation states.

Constant | Description
--- | ---
`Playing` | Animation is playing.
`Stopped` | Animation is stopped.

### GraphAnimationType : enumeration

Animation type.

Constant | Description
--- | ---
`GraphPoint` | A GraphPointAnimation animation.
`ControlPoint` | A ControlPointAnimation animation.

### animating : GraphAnimation::AnimationState

Holds the animation state. One of GraphAnimation::AnimationState.