Skip to main content

Pie2DSpinAnimation.CalculateAnimatedRotation(Double, Double) Method

Calculates the final rotation degree a Pie series has after its Spin animation has finished.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v24.1.dll

NuGet Package: DevExpress.Wpf.Charts

Declaration

public override double CalculateAnimatedRotation(
    double rotation,
    double progress
)

Parameters

Name Type Description
rotation Double

A Double value, specifying the initial rotation degree of the Pie.

progress Double

A Double value, specifying the progress position of the animation.

Returns

Type Description
Double

A Double value, specifying the final rotation degree of the Pie.

Remarks

Use the CalculateAnimatedRotation method, to obtain final rotation degree of a Pie, when creating a custom animation.

See Also