XYDiagram2DSeriesViewBase.AggregateFunction Property
Gets or sets the function that is used to aggregate series points.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v24.2.dll
Declaration
[XtraChartsLocalizableCategory(XtraChartsCategory.Data)]
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. |
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference 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.