DataLabels.ShowValue Property
Returns or sets a Boolean corresponding to a specified chart's data label values display behavior. True displays the values. False to hide. Read/write.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Property ShowValue As Boolean
Get
Set
'Usage
Dim instance As DataLabels
Dim value As Boolean
value = instance.ShowValue
instance.ShowValue = value
bool ShowValue { get; set; }
Property Value
Type: System.Boolean
Remarks
The specified chart must first be active before you can access the data labels programmatically or a run-time error will occur.