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


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

Syntax

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

Parameters

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

See Also

© 2010 All Rights Reserved.