LegendItem.SeriesName Property

.NET Framework (current version)
 

Gets or sets the name of the Series associated with a default legend item.

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

[<BrowsableAttribute(false)>]
member SeriesName : string with get, set

Property Value

Type: System.String

A string value that determines the name of the series associated with a default legend item. The default value is a zero-length string.

This property should only be used in the CustomizeLegend event, to determine which data series a default legend entry represents.

The SeriesName property applies to all charts except pie and sphere charts; their default legend items correspond to plotted data points, and not to plotted series. When you deal with pie and sphere charts, use the SeriesPointIndex property instead.

This property should not be set by the developer.

System_CAPS_noteNote

This property is applicable to the entire LegendItem.

.NET Framework
Available since 4.0
Return to top
Show: