Partilhar via


Chart.ShowDataLabelsOverMaximum Property

Gets or sets a value that indicates whether to show the data labels when the value is greater than the maximum value on the value axis.

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

Syntax

'Declaration
Property ShowDataLabelsOverMaximum As Boolean
bool ShowDataLabelsOverMaximum { get; set; }

Property Value

Type: System.Boolean
true to show the data labels when the value is greater than the maximum value on the value axis; otherwise, false.

Remarks

If you change the value axis in such a way that it becomes 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.

.NET Framework Security

See Also

Reference

Chart Interface

Microsoft.Office.Tools.Excel Namespace