Gets or sets a label for data point(s) or an empty point.
Data point label text.
Visual Basic (Declaration) | |
---|---|
Public Overridable Property Label As String |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public virtual string Label {get; set;} |
Return Value
A value that represents a data label.
Unlike AxisLabel these data labels are displayed inside of the plotting area of all chart types, next to a data point.
Setting this property for a Series object will cause all data points that belong to the series to display the specified label. If the Label property is set for a series and one of its data points, the data point label has precedence.
This property allows you to set special keywords to display different types of Chart-related data. For more information, refer to the Using Keywords topic.
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