PieAnimationBase.CalculateAnimatedSweepAngle(Single, Single) Method

Calculates the sweep angle of a pie point for the specified animation progress.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v19.2.dll

Declaration

public virtual float CalculateAnimatedSweepAngle(
    float sweepAngle,
    float progress
)
Public Overridable Function CalculateAnimatedSweepAngle(
    sweepAngle As Single,
    progress As Single
) As Single

Parameters

Name Type Description
sweepAngle Single

A Single value, specifying the sweep angle when animation is finished.

progress Single

A Single value, specifying the current animation progress.

Returns

Type Description
Single

A Single value, specifying the sweep angle for the current animation progress.

Remarks

The following image explains the meaning of layout angles.

PieStartAndSweepAngles

See Also