.netCHARTING v10.5 Documentation


dotnetCHARTING Namespace > DataSource Class > FromElementGroup Method : FromElementGroup(SeriesCollection,Int32) Method
SeriesCollection containing the given group of elements.
Index of the element in each series that makes up the group.
FromElementGroup(SeriesCollection,Int32) Method
Creates an Element Group DataSource object from a SeriesColleciton, and Element index.
Syntax
'Declaration
 
Public Overloads Shared Function FromElementGroup( _
   ByVal sourceSeriesCollection As SeriesCollection, _
   ByVal sourceGroupIndex As Integer _
) As DataSource
'Usage
 
Dim sourceSeriesCollection As SeriesCollection
Dim sourceGroupIndex As Integer
Dim value As DataSource
 
value = DataSource.FromElementGroup(sourceSeriesCollection, sourceGroupIndex)

Parameters

sourceSeriesCollection
SeriesCollection containing the given group of elements.
sourceGroupIndex
Index of the element in each series that makes up the group.
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