Export (0) Print
Expand All

Series.Name Property

Gets or sets the unique name of a Series object.

Namespace:  System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

public override string Name { get; set; }

Property Value

Type: System.String
A string value that represents the unique name of the data series.

The name of a data series must be unique; otherwise an exception will be thrown.

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

If this property is set to a zero-length string, an exception will be thrown.

.NET Framework

Supported in: 4.6, 4.5, 4
© 2015 Microsoft