Back to Devexpress

CustomAggregateFunction.Calculate(GroupInfo) Method

wpf-devexpress-dot-xpf-dot-charts-dot-customaggregatefunction-dot-calculate-x28-devexpress-dot-xpf-dot-charts-dot-groupinfo-x29.md

latest3.2 KB
Original Source

CustomAggregateFunction.Calculate(GroupInfo) Method

Calculates the aggregated values of the specified series point value group.

Namespace : DevExpress.Xpf.Charts

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

NuGet Package : DevExpress.Wpf.Charts

Declaration

csharp
public abstract double[] Calculate(
    GroupInfo groupInfo
)
vb
Public MustOverride Function Calculate(
    groupInfo As GroupInfo
) As Double()

Parameters

NameTypeDescription
groupInfoGroupInfo

Information about values that should be aggregated.

|

Returns

TypeDescription
Double[]

The array of data point values.

|

Remarks

The group info stores the following value collections in its properties:

PropertyValue Levels
GroupInfo.Values1Value (for common and the bubble series), Value_1 (for range series), High (for financial series)
GroupInfo.Values2Weight (for common and the bubble series), Value_2 (for range series), Low (for financial series)
GroupInfo.Values3Open (for financial series)
GroupInfo.Values4Close (for financial series)

The resulting array must contain values in the following order:

Series typeValue 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

CustomAggregateFunction Class

CustomAggregateFunction Members

DevExpress.Xpf.Charts Namespace