.netCHARTING v10.5 Documentation


dotnetCHARTING Namespace > DataSource Class > FromSeries Method : FromSeries(SeriesCollection,String,DataSourceType) Method
SeriesCollection containing the given series.
Name of the given series.
Split into type when this DataSource is used to populate a legend box.
FromSeries(SeriesCollection,String,DataSourceType) Method
Creates a DataSource object from a SeriesColleciton, and Series.
Syntax
'Declaration
 
Public Overloads Shared Function FromSeries( _
   ByVal sourceSeriesCollection As SeriesCollection, _
   ByVal sourceSeriesName As String, _
   ByVal splitIntoType As DataSourceType _
) As DataSource
'Usage
 
Dim sourceSeriesCollection As SeriesCollection
Dim sourceSeriesName As String
Dim splitIntoType As DataSourceType
Dim value As DataSource
 
value = DataSource.FromSeries(sourceSeriesCollection, sourceSeriesName, 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.
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