Share via


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

ChartSheet Interface

Microsoft.Office.Tools.Excel Namespace