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


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.
Creates a DataSource object from a SeriesColleciton, and Element index.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function FromElementGroup( _
   ByVal sourceSeriesCollection As SeriesCollection, _
   ByVal sourceGroupIndex As Integer, _
   ByVal splitIntoType As DataSourceType _
) As DataSource
Visual Basic (Usage)Copy Code
Dim sourceSeriesCollection As SeriesCollection
Dim sourceGroupIndex As Integer
Dim splitIntoType As DataSourceType
Dim value As DataSource
 
value = DataSource.FromElementGroup(sourceSeriesCollection, sourceGroupIndex, splitIntoType)
C# 
public static DataSource FromElementGroup( 
   SeriesCollection sourceSeriesCollection,
   int sourceGroupIndex,
   DataSourceType 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.

See Also

© 2010 All Rights Reserved.