Xceed Chart for WinForms v4.4 Documentation
Name Property (SeriesBase)
Example 


Xceed.Chart.Core.v4.4 Assembly > Xceed.Chart.Core Namespace > SeriesBase Class : Name Property
The name of the series.
Syntax
'Declaration
 
<DescriptionAttribute("The name of the series.")>

<CategoryAttribute("General")>

Public Property Name As String
'Usage
 
Dim instance As SeriesBase

Dim value As String

 

instance.Name = value

 

value = instance.Name
[Description("The name of the series.")]

[Category("General")]

public string Name {get; set;}
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

Reference

SeriesBase Class
SeriesBase Members