Adds a Series object with the given name and number of Y-values to the end of the collection.
Add new data series.
Visual Basic (Declaration) | |
---|---|
Public Overloads Function Add( _ ByVal name As String, _ ByVal yValuesPerPoint As Integer _ ) As Series |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public Series Add( string name, int yValuesPerPoint ) |
Parameters
- name
- Name of the series to be added.
Name of the new data series. - yValuesPerPoint
- Maximum number of Y-values that each stored DataPoint object can have.
Number of Y values per data point.
Return Value
The new Series object appended to the collection.Newly added data series object
The Add (string) method can be used to add a Series object to the collection if all data points owned by the data series will have one and only one Y-value.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family