Gets the name of a default legend item's associated Series.
Legend item series name.
Visual Basic (Declaration) | |
---|---|
Public Property SeriesName As String |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public string SeriesName {get; set;} |
Return Value
A string value that determines the name of a default legend item's associated Series. Defaults to a zero-length string.
This property should only be used in the CustomizeLegend event (Enterprise Edition only) to determine what data series a default legend entry represents.
This 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 dealing with pie and sphere charts use the SeriesPointIndex property instead.
This property should not be set by the developer.
Note: This property is applicable to the entire LegendItem.
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