Dundas Chart for ASP.NET
Add(String,Int32) Method
See Also  Send comments on this topic.
Dundas.Charting.WebControl Namespace > SeriesCollection Class > Add Method : Add(String,Int32) Method


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.

Adds a Series object with the given name and number of Y-values to the end of the collection.


Add new data series.

Syntax

Visual Basic (Declaration)  
Public Overloads Function Add( _
   ByVal name As String, _
   ByVal yValuesPerPoint As Integer _
) As Series
Visual Basic (Usage) Copy Code
Dim instance As SeriesCollection
Dim name As String
Dim yValuesPerPoint As Integer
Dim value As Series
 
value = instance.Add(name, yValuesPerPoint)
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

Remarks

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.

Requirements

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

See Also

Copyright © 2001 - 2009 Dundas Data Visualization, Inc. and others.