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


sourceSeriesCollection
SeriesCollection containing the given series.
sourceSeriesName
Name of the given series.
splitIntoType
Split into type when this DataSource is used to populate a legend box.
Creates a DataSource object from a SeriesColleciton, and Series.

Syntax

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

Parameters

sourceSeriesCollection
SeriesCollection containing the given series.
sourceSeriesName
Name of the given series.
splitIntoType
Split into type when this DataSource is used to populate a legend box.

See Also

© 2010 All Rights Reserved.