Dundas Chart for ASP.NET
Name Property
See Also  Example Send comments on this topic.
Dundas.Charting.WebControl Namespace > Series Class : Name Property


Gets or sets the unique name of a Series object.


Data series name.

Syntax

Visual Basic (Declaration)  
Public Property Name As String
Visual Basic (Usage) Copy Code
Dim instance As Series
Dim value As String
 
instance.Name = value
 
value = instance.Name
C#  
public string Name {get; set;}

Return Value

A value that represents the unique name of the data series.

Example

We set the border color to red.
Visual Basic Copy Code
Chart1.Series("Default").BorderColor = Color.Red

Remarks

The name of a data series. Must be unique, otherwise an exception will be thrown.

This property can be used as the indexer when retrieving a Series object from the SeriesCollection object.

Setting this property to a zero-length string will result in an exception being thrown.

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.