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


sourceSeriesCollection
SeriesCollection containing the series of the given element.
sourceSeriesName
Name of the series that contains the given element.
sourceElementName
Name of the given element.
Creates a DataSource object from a SeriesColleciton, Series, and Element.

Syntax

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

Parameters

sourceSeriesCollection
SeriesCollection containing the series of the given element.
sourceSeriesName
Name of the series that contains the given element.
sourceElementName
Name of the given element.

See Also

© 2010 All Rights Reserved.