Xceed Chart for WinForms v4.4 Documentation
Xceed.Chart.Core.v4.4 Assembly / Xceed.Chart.Core Namespace / SeriesBase Class / Name Property
Example


Name Property (SeriesBase)
The name of the series.
Syntax
'Declaration
 
<CategoryAttribute("General")>
<DescriptionAttribute("The name of the series.")>
Public Property Name As String
 
'Usage
 
Dim instance As SeriesBase
Dim value As String
 
instance.Name = value
 
value = instance.Name
Remarks
The legend of the Xceed Chart for WinForms component can be configured to show this string.
Example
The following code changes the name of a bar series and displays it in the chart legend.
bar.Name = "My Bar Series"
bar.Legend.Mode = SeriesLegendMode.Series
bar.Name = "My Bar Series";
bar.Legend.Mode = SeriesLegendMode.Series;
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also