dotnetCHARTING Send comments on this topic.
Series Constructor(String,ElementCollection)
See Also 
dotnetCHARTING Namespace > Series Class > Series Constructor : Series Constructor(String,ElementCollection)


name
Name of the new series.
elementCollection
Collection of elements assigned to this series.
Initializes a new instance of the Series class with a name and the specified elementCollection.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal name As String, _
   ByVal elementCollection As ElementCollection _
)
Visual Basic (Usage)Copy Code
Dim name As String
Dim elementCollection As ElementCollection
 
Dim instance As Series(name, elementCollection)
C# 
public Series( 
   string name,
   ElementCollection elementCollection
)

Parameters

name
Name of the new series.
elementCollection
Collection of elements assigned to this series.

Remarks

The ElementCollection object itself is not used by the series. The elements are copied to this series' ElementCollection.

See Also

© 2010 All Rights Reserved.