FromElement(SeriesCollection,String,String,DataSourceType) Method
Creates a DataSource object from a SeriesColleciton, Series, and Element.
Syntax
'Declaration Public Overloads Shared Function FromElement( _ ByVal sourceSeriesCollection As SeriesCollection, _ ByVal sourceSeriesName As String, _ ByVal sourceElementName As String, _ ByVal splitIntoType As DataSourceType _ ) As DataSource
'Usage Dim sourceSeriesCollection As SeriesCollection Dim sourceSeriesName As String Dim sourceElementName As String Dim splitIntoType As DataSourceType Dim value As DataSource value = DataSource.FromElement(sourceSeriesCollection, sourceSeriesName, sourceElementName, splitIntoType)
public static DataSource FromElement( SeriesCollection sourceSeriesCollection, string sourceSeriesName, string sourceElementName, DataSourceType splitIntoType )
Parameters
- sourceSeriesCollection
- SeriesCollection containing the series of the given element.
- sourceSeriesName
- Name of the series that contains the given element.
- sourceElementName
- Name of the given element.
- 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