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


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

Syntax

Visual Basic (Declaration) 
Overloads Public Shared Function FromElementGroup( _
   ByVal sourceSeriesCollection As SeriesCollection, _
   ByVal sourceGroupIndex As Integer _
) As DataSource
Visual Basic (Usage)Copy Code
Dim sourceSeriesCollection As SeriesCollection
Dim sourceGroupIndex As Integer
Dim value As DataSource
 
value = DataSource.FromElementGroup(sourceSeriesCollection, sourceGroupIndex)
C# 
public static DataSource FromElementGroup( 
   SeriesCollection sourceSeriesCollection,
   int sourceGroupIndex
)

Parameters

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

See Also