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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.