CustomAggregateFunction.Calculate(GroupInfo) Method
Calculates the aggregated values of the specified series point value group.
Namespace: DevExpress.Xpf.Charts
Assembly: DevExpress.Xpf.Charts.v24.1.dll
NuGet Package: DevExpress.Wpf.Charts
Declaration
Parameters
Name | Type | Description |
---|---|---|
groupInfo | GroupInfo | Information about values that should be aggregated. |
Returns
Type | Description |
---|---|
Double[] | The array of data point values. |
Remarks
The group info stores the following value collections in its properties:
Property | Value Levels |
---|---|
GroupInfo.Values1 | Value (for common and the bubble series), Value_1 (for range series), High (for financial series) |
GroupInfo.Values2 | Weight (for common and the bubble series), Value_2 (for range series), Low (for financial series) |
GroupInfo.Values3 | Open (for financial series) |
GroupInfo.Values4 | Close (for financial series) |
The resulting array must contain values in the following order:
Series type | Value order |
---|---|
For common series | {Value} |
For range series: | {Value_1, Value_2} |
For the bubble series: | {Value, Weight} |
For financial series: | {High, Low, Open, Close} |
See Also