Partager via


_Chart.ShowDataLabelsOverMaximum Property

Returns or sets whether to show the data labels when the value is greater than the maximum value on the value axis. Read/write.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property ShowDataLabelsOverMaximum As Boolean
    Get
    Set
'Usage
Dim instance As _Chart
Dim value As Boolean

value = instance.ShowDataLabelsOverMaximum

instance.ShowDataLabelsOverMaximum = value
bool ShowDataLabelsOverMaximum { get; set; }

Property Value

Type: System.Boolean
Boolean

Remarks

If you change the value axis in such a way that it became smaller than the size of the data points, you can use this property to set whether to show the data labels. This property applies to 2-D charts only.

See Also

Reference

_Chart Interface

_Chart Members

Microsoft.Office.Interop.Excel Namespace