Skip to main content

DifferenceCalculation.Target Property

Gets or sets a target value used to calculate differences in the current DifferenceCalculation.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v24.2.Core.dll

NuGet Package: DevExpress.Dashboard.Core

#Declaration

[DefaultValue(DifferenceTarget.Previous)]
public DifferenceTarget Target { get; set; }

#Property Value

Type Default Description
DifferenceTarget Previous

A DifferenceTarget enumeration value that specifies a target value used to calculate differences in the current DifferenceCalculation.

Available values:

Name Description
Previous

A difference is calculated between the current value and the previous value. If the current value is the first value in a window, a difference is not calculated.

Next

A difference is calculated between the current value and the next value. If the current value is the last value in a window, a difference is not calculated.

First

A difference is calculated between the current value and the first value in a window.

Last

A difference is calculated between the current value and the last value in a window.

See Also