ExcelScript.ChartPivotOptions interface

封装数据透视图的选项。

方法

getShowAxisFieldButtons()

指定是否在数据透视图上显示轴字段按钮。 属性 showAxisFieldButtons 对应于“分析”选项卡的“字段按钮”下拉列表上的“显示坐标轴字段按钮”命令,当选择数据透视图时,该按钮可用。

getShowLegendFieldButtons()

指定是否在数据透视图上显示图例字段按钮。

getShowReportFilterFieldButtons()

指定是否在数据透视图上显示报表筛选器字段按钮。

getShowValueFieldButtons()

指定是否在数据透视图上显示“显示值字段”按钮。

setShowAxisFieldButtons(showAxisFieldButtons)

指定是否在数据透视图上显示轴字段按钮。 属性 showAxisFieldButtons 对应于“分析”选项卡的“字段按钮”下拉列表上的“显示坐标轴字段按钮”命令,当选择数据透视图时,该按钮可用。

setShowLegendFieldButtons(showLegendFieldButtons)

指定是否在数据透视图上显示图例字段按钮。

setShowReportFilterFieldButtons(showReportFilterFieldButtons)

指定是否在数据透视图上显示报表筛选器字段按钮。

setShowValueFieldButtons(showValueFieldButtons)

指定是否在数据透视图上显示“显示值字段”按钮。

方法详细信息

getShowAxisFieldButtons()

指定是否在数据透视图上显示轴字段按钮。 属性 showAxisFieldButtons 对应于“分析”选项卡的“字段按钮”下拉列表上的“显示坐标轴字段按钮”命令,当选择数据透视图时,该按钮可用。

getShowAxisFieldButtons(): boolean;

返回

boolean

getShowLegendFieldButtons()

指定是否在数据透视图上显示图例字段按钮。

getShowLegendFieldButtons(): boolean;

返回

boolean

getShowReportFilterFieldButtons()

指定是否在数据透视图上显示报表筛选器字段按钮。

getShowReportFilterFieldButtons(): boolean;

返回

boolean

getShowValueFieldButtons()

指定是否在数据透视图上显示“显示值字段”按钮。

getShowValueFieldButtons(): boolean;

返回

boolean

setShowAxisFieldButtons(showAxisFieldButtons)

指定是否在数据透视图上显示轴字段按钮。 属性 showAxisFieldButtons 对应于“分析”选项卡的“字段按钮”下拉列表上的“显示坐标轴字段按钮”命令,当选择数据透视图时,该按钮可用。

setShowAxisFieldButtons(showAxisFieldButtons: boolean): void;

参数

showAxisFieldButtons

boolean

返回

void

setShowLegendFieldButtons(showLegendFieldButtons)

指定是否在数据透视图上显示图例字段按钮。

setShowLegendFieldButtons(showLegendFieldButtons: boolean): void;

参数

showLegendFieldButtons

boolean

返回

void

setShowReportFilterFieldButtons(showReportFilterFieldButtons)

指定是否在数据透视图上显示报表筛选器字段按钮。

setShowReportFilterFieldButtons(
            showReportFilterFieldButtons: boolean
        ): void;

参数

showReportFilterFieldButtons

boolean

返回

void

setShowValueFieldButtons(showValueFieldButtons)

指定是否在数据透视图上显示“显示值字段”按钮。

setShowValueFieldButtons(showValueFieldButtons: boolean): void;

参数

showValueFieldButtons

boolean

返回

void