dotnetCHARTING Send comments on this topic.
FromElementGroup(SeriesCollection,String) Method
See Also 
dotnetCHARTING Namespace > DataSource Class > FromElementGroup Method : FromElementGroup(SeriesCollection,String) Method



sourceSeriesCollection
SeriesCollection containing the given group of elements.
sourceGroupName
Index of the element in each series that makes up the group.
Creates an Element Group DataSource object from a SeriesColleciton, and Element name.

Syntax

Visual Basic (Declaration) 
Overloads Public Shared Function FromElementGroup( _
   ByVal sourceSeriesCollection As SeriesCollection, _
   ByVal sourceGroupName As String _
) As DataSource
Visual Basic (Usage)Copy Code
Dim sourceSeriesCollection As SeriesCollection
Dim sourceGroupName As String
Dim value As DataSource
 
value = DataSource.FromElementGroup(sourceSeriesCollection, sourceGroupName)
C# 
public static DataSource FromElementGroup( 
   SeriesCollection sourceSeriesCollection,
   string sourceGroupName
)
C++/CLI 
public:
static DataSource^ FromElementGroup( 
   SeriesCollection^ sourceSeriesCollection,
   String^ sourceGroupName
) 

Parameters

sourceSeriesCollection
SeriesCollection containing the given group of elements.
sourceGroupName
Index of the element in each series that makes up the group.

See Also