.netCHARTING v10.5 Documentation


dotnetCHARTING Namespace > Series Class > SplitRegroupCalculate Method : SplitRegroupCalculate(TimeIntervalAdvanced,TimeIntervalAdvanced,Calculation,String,TimeIntervalAdvanced) Method
First split of the data.
Second split used to group results from the first split.
Calculation performed on elements when grouped by the second split into a single element.
Providing a format string will evaluate the grouped element's xDateTime based on this format string and it will become the resulting element's name.
The elements that are grouped to make up the resulting elements can be grouped by a time interval and added as subValues for each resulting element.
SplitRegroupCalculate(TimeIntervalAdvanced,TimeIntervalAdvanced,Calculation,String,TimeIntervalAdvanced) Method
Syntax
'Declaration
 
Public Overloads Function SplitRegroupCalculate( _
   ByVal firstSplit As TimeIntervalAdvanced, _
   ByVal secondSplit As TimeIntervalAdvanced, _
   ByVal calculation As Calculation, _
   ByVal elementNameFormatString As String, _
   ByVal subValuesDateGrouping As TimeIntervalAdvanced _
) As Series
'Usage
 
Dim instance As Series
Dim firstSplit As TimeIntervalAdvanced
Dim secondSplit As TimeIntervalAdvanced
Dim calculation As Calculation
Dim elementNameFormatString As String
Dim subValuesDateGrouping As TimeIntervalAdvanced
Dim value As Series
 
value = instance.SplitRegroupCalculate(firstSplit, secondSplit, calculation, elementNameFormatString, subValuesDateGrouping)

Parameters

firstSplit
First split of the data.
secondSplit
Second split used to group results from the first split.
calculation
Calculation performed on elements when grouped by the second split into a single element.
elementNameFormatString
Providing a format string will evaluate the grouped element's xDateTime based on this format string and it will become the resulting element's name.
subValuesDateGrouping
The elements that are grouped to make up the resulting elements can be grouped by a time interval and added as subValues for each resulting element.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also