.netCHARTING v10.5 Documentation


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

Parameters

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