Skip to main content

XYSeries.AggregateFunction Property

Gets or sets the function that is used to aggregate series points.

Namespace: DevExpress.Xpf.Charts

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

NuGet Package: DevExpress.Wpf.Charts

Declaration

public SeriesAggregateFunction AggregateFunction { get; set; }

Property Value

Type Description
SeriesAggregateFunction

The aggregate function type.

Available values:

Name Description
Default

The aggregate function is specified by the AggregateFunction property of the appropriate axis scale options.

None

The aggregate function is not applied.

Average

Aggregates data by calculating the average value for a selected numeric or date-time interval.

Sum

Aggregates data by calculating the sum for a selected numeric or date-time interval.

Minimum

Aggregates data by calculating the minimum value for a selected numeric or date-time interval.

Maximum

Aggregates data by calculating the maximum value for a selected numeric or date-time interval.

Count

Aggregates data by calculating the number of non-null values for a selected numeric or date-time interval.

Histogram

Aggregates data by calculating the number of all points for a selected numeric or date-time interval.

Financial

Aggregates financial data for a selected interval into a single open-high-low-close data point, as follows. The Open value of the aggregated point is the Open value of the first aggregated point, the High value - the maximum High value of aggregated points, the Low value - the minimum Low value of aggregated points, and the Close value - the Close value of the last aggregated point.

Custom

Aggregates data using the custom CustomAggregateFunction calculator.

See Also