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


sourceSeriesCollection
SeriesCollection containing the series of the given element.
sourceSeriesIndex
Index of the series that contains the given element.
sourceElementIndex
Index of the element in the specified series.
Creates a DataSource object class from a SeriesColleciton, Series, and Element.

Syntax

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

Parameters

sourceSeriesCollection
SeriesCollection containing the series of the given element.
sourceSeriesIndex
Index of the series that contains the given element.
sourceElementIndex
Index of the element in the specified series.

See Also

© 2010 All Rights Reserved.