Dela via


Chart.ShowDataLabelsOverMaximum Property (2007 System)

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

Syntax

'Declaration
Public Property ShowDataLabelsOverMaximum As Boolean
'Usage
Dim instance As Chart 
Dim value As Boolean 

value = instance.ShowDataLabelsOverMaximum

instance.ShowDataLabelsOverMaximum = value
public bool ShowDataLabelsOverMaximum { get; set; }
public:
property bool ShowDataLabelsOverMaximum {
    bool get ();
    void set (bool value);
}
public function get ShowDataLabelsOverMaximum () : boolean 
public function set ShowDataLabelsOverMaximum (value : boolean)

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 Class

Chart Members

Microsoft.Office.Tools.Excel Namespace