ScaleGridOptionsBase.AggregateFunction Property
Gets or sets the value indicating the aggregate function that should be used to relieve data.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v24.1.dll
NuGet Package: DevExpress.Charts
Declaration
[NonTestableProperty]
[XtraSerializableProperty]
public AggregateFunction AggregateFunction { get; set; }
Property Value
Type | Description |
---|---|
AggregateFunction | The value indicating the aggregate function that should be used to relieve data. |
Available values:
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. |
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 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 GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the AggregateFunction 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.