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


sourceSeriesCollection
Given SeriesCollection.
splitIntoType
Split into type when this DataSource is used to populate a legend box.
Creates a DataSource object from a SeriesColleciton.

Syntax

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

Parameters

sourceSeriesCollection
Given SeriesCollection.
splitIntoType
Split into type when this DataSource is used to populate a legend box.

See Also