Skip to main content
A newer version of this page is available. .

AggregateFunction Enum

Lists the values that specify the aggregate function used for an axis.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v18.1.dll

Declaration

[ResourceFinder(typeof(XtraChartsResFinder), "PropertyNamesRes")]
[TypeConverter(typeof(EnumTypeConverter))]
public enum AggregateFunction

Members

Name Description
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 summary 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.

Financial

Aggregates financial data for a selected interval into a single high-low-open-close data point, so that the high value equals the highest value of all data points in this interval; the low value equals the lowest value of all data points; the open value equals the open value of the first data point and the close value equals the close value of the last data point.

Custom

Aggregates data using the custom CustomAggregateFunction calculator.

Related API Members

The following properties accept/return AggregateFunction values:

Remarks

The values listed by the AggregateFunction enumeration are used to set the ScaleGridOptionsBase.AggregateFunction property.

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

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