Skip to main content

PieAnimationBase.CalculateAnimatedSweepAngle(Single, Single) Method

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

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v23.2.dll

NuGet Package: DevExpress.Charts

Declaration

public virtual float CalculateAnimatedSweepAngle(
    float sweepAngle,
    float progress
)

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