共用方式為


ChartSheetBase.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.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)

Syntax

'Declaration
Public Property ShowDataLabelsOverMaximum As Boolean
public 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 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.

.NET Framework Security

See Also

Reference

ChartSheetBase Class

Microsoft.Office.Tools.Excel Namespace