Gets or sets a value that determines if data point(s) will display their value(s) as a label.
If true shows point's value as a label.
Visual Basic (Declaration) | |
---|---|
Public Property ShowLabelAsValue As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public bool ShowLabelAsValue {get; set;} |
Return Value
A value that indicates whether data values are displayed as labels.
This property allows for the display of Y-values as labels.
If a chart type is being displayed that uses more than one Y-value then the first Y-value will be displayed. This behavior can be modified for stock and candle stick chart types through the use of the "LabelValueType" custom attribute, implemented using the CustomAttributes property. For more information concerning custom attributes see the Custom Chart Attributes topic.
If this property is set for a Series object then all of its associated DataPoint objects will display their values as labels, regardless of their own ShowLabelAsValue setting.
Use the LabelFormat property to change the default formatting of a series' data points. Note that this property is also available for each individual data point in the series.
This property will display a calculated average when used for an empty point.
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