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


name

The name of the Series object that will be created. This must be unique, otherwise an exception will be thrown.


Name of the data series

Creates a new instance of the Series class with the specified name.


Data Series object constructor.

Syntax

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

Parameters

name

The name of the Series object that will be created. This must be unique, otherwise an exception will be thrown.


Name of the data series

Remarks

This constructor can be used to create a new instance of the Series class.

IMPORTANT: this series will only be able to store DataPoint objects that have one Y-value. If a data point is added to the series that has multiple Y-values then 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.