.netCHARTING v10.7 Documentation


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

Parameters

sourceSeriesCollection
SeriesCollection containing the given group of elements.
sourceGroupName
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