共用方式為


Chart.ShowReportFilterFieldButtons Property (Excel)

Returns or sets whether to display the report filter field buttons on a PivotChart. Read/write

Version Information

Version Added: Excel 2010

Syntax

expression .ShowReportFilterFieldButtons

expression A variable that represents a Chart object.

Return Value

Boolean

Remarks

Set the ShowReportFilterFieldButtons property to True to display the Report Filter Field buttons on the specified PivotChart. Set the property to False to hide the buttons.

The ShowReportFilterFieldButtons property corresponds to the Show Report Filter Field Buttons command on the Field Buttons drop-down list of the Analyze tab, which is available when a PivotChart is selected.

Example

The following code example sets Chart 1 to display report filter field buttons.

ActiveSheet.ChartObjects("Chart 1").Activate 
ActiveChart.ShowReportFilterFieldButtons = True

請參閱

概念

Chart Object Members

Chart Object