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


sourceSeriesCollection
SeriesCollection containing the given series.
sourceSeriesIndex
Index of the given series.
Creates a DataSource object from a SeriesColleciton, and Series.

Syntax

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

Parameters

sourceSeriesCollection
SeriesCollection containing the given series.
sourceSeriesIndex
Index of the given series.

See Also