Skip to main content

KpiElement.TargetValue Property

Gets or sets a measure that provides data for calculating the target value.

Namespace: DevExpress.DashboardCommon

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

NuGet Package: DevExpress.Dashboard.Core

Declaration

public Measure TargetValue { get; set; }

Property Value

Type Description
Measure

A Measure object that provides data for calculating the target value.

Remarks

The KpiDashboardItem<TKpiElement> descendants, such as the CardDashboardItem or GaugeDashboardItem, are used to present KPI data. These dashboard items display a number of individual elements (cards and gauges respectively) that show the difference between the actual and target values of a particular parameter. To provide data for each of these elements, you need to specify a pair of measures, where one of these measures contains data used to calculate the actual value, and the other provides data for the target value.

Use the TargetValue property to specify a measure that will be used to calculate the target value. To specify a measure for the actual value, use the KpiElement.ActualValue property.

The following code snippets (auto-collected from DevExpress Examples) contain references to the TargetValue property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also