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


name

The name of the Series object that will be created.


Name of the data series.
yValues

The maximum number of Y-values of the DataPoint objects that belong to this series.


Number of y value(s) per data point.

Creates and initializes a new instance of the Series class with the specified name and maximum number of Y-values.


Data Series object constructor.

Syntax

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

Parameters

name

The name of the Series object that will be created.


Name of the data series.
yValues

The maximum number of Y-values of the DataPoint objects that belong to this series.


Number of y value(s) per data point.

Remarks

Use this constructor to create and initialize a new instance of the Series class.

IMPORTANT: this series will only be able to store DataPoint objects that do not have more Y-values than the maximum that is set by yValues parameter. If a data point is added that uses more Y-values than the set maximum an exception will be thrown.

To create a Series object at run-time the Add and Insert methods of the Series collection property can also be used.

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.