다음을 통해 공유


Chart.ShowAxisFieldButtons Property

Gets or sets whether to display axis field buttons on a PivotChart.

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

Syntax

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

Property Value

Type: System.Boolean
true to display axis field buttons on the specified PivotChart; otherwise, false.

Exceptions

Exception Condition
MissingMemberException

This property is used in an Excel 2007 project.

Remarks

Set the ShowAxisFieldButtons property to true to display axis field buttons on the specified PivotChart. Set the property to false to hide the buttons.

The ShowAxisFieldButtons property corresponds to the Show Axis FieldButtons command on the Field Buttons drop-down list of the Analyze tab in Excel, which is available when a PivotChart is selected.

Note

This property appears in IntelliSense in Excel 2007 projects that target the .NET Framework 4. However, this property cannot be used in Excel 2007 projects.

.NET Framework Security

See Also

Reference

Chart Interface

Microsoft.Office.Tools.Excel Namespace