.netCHARTING v10.5 Documentation


dotnetCHARTING Namespace > DataSource Class > FromSeriesCollection Method : FromSeriesCollection(SeriesCollection,DataSourceType) Method
Given SeriesCollection.
Split into type when this DataSource is used to populate a legend box.
FromSeriesCollection(SeriesCollection,DataSourceType) Method
Creates a DataSource object from a SeriesColleciton.
Syntax
'Declaration
 
Public Overloads Shared Function FromSeriesCollection( _
   ByVal sourceSeriesCollection As SeriesCollection, _
   ByVal splitIntoType As DataSourceType _
) As DataSource
'Usage
 
Dim sourceSeriesCollection As SeriesCollection
Dim splitIntoType As DataSourceType
Dim value As DataSource
 
value = DataSource.FromSeriesCollection(sourceSeriesCollection, splitIntoType)

Parameters

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

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also