Skip to content

Animation

Thomas Möller edited this page Apr 12, 2024 · 11 revisions

Class name

Animation

Purpose / Description

This class contains methods and properties related to the animation.

Methods

  • none

Properties


Detailed description

The following sections contain a detailed description of the methods and properties.

Duration

Description:

With this property you can set the duration of the animation.

The value is given in milliseconds. So, for a duration of one second you enter the value 1000.

Default value:

--

Sample code:

myChart.Animation.Duration = 1000

Related to:

--

Easing

Description:

With this property you can set the easing of the animation.

Easing functions specify the rate of change of a parameter over time.

This website shows how the concept works: https://easings.net/

Possible values:

See https://easings.net/

Default value:

{empty}, which leads to 'easeOutQuart'

Sample code:

myChart.Animation.Easing = chAnimation.easeOutQuart

Related to:

--