dotnetCHARTING Send comments on this topic.
SplitRegroup Method
See Also 
dotnetCHARTING Namespace > Series Class : SplitRegroup Method


firstSplit
secondSplit

Splits the elements based on the first split, then the resulting series are grouped based on the second split. A simple analogy is a stretch of measuring tape representing a timeline. The tape is cut into sections based on (first split), then the pieces are stacked on top of each other and cut again based on the second split. The resulting stacks are evaluated down to an element based on the specified calculation.

As a real world example, consider you have a series with web site traffic represented by an element for each time the website was visited including a date and time. This method can parse the data in a way that allows determining the traffic for each day of the week throughout the entire span of time. This means all the traffic going through the website on any monday would be calculated down to a single element, same for tuesday and so on.

This illustration shows how the data is arranged.

Syntax

Visual Basic (Declaration) 
Public Function SplitRegroup( _
   ByVal firstSplit As TimeIntervalAdvanced, _
   ByVal secondSplit As TimeIntervalAdvanced _
) As SeriesCollection
Visual Basic (Usage)Copy Code
Dim instance As Series
Dim firstSplit As TimeIntervalAdvanced
Dim secondSplit As TimeIntervalAdvanced
Dim value As SeriesCollection
 
value = instance.SplitRegroup(firstSplit, secondSplit)

Parameters

firstSplit
secondSplit

See Also

© 2010 All Rights Reserved.