format_area method

format_area

Formats selected area.

Returns

def format_area(self, axis_type, field_position, subtotal_type, selection_type, is_grand_row, is_grand_column, style):
    ...
ParameterTypeDescription
axis_typePivotFieldTypeThe region of the PivotTable to which this rule applies.
field_positionintPosition of the field within the axis to which this rule applies.
subtotal_typePivotFieldSubtotalTypeThe subtotal filter type of the pivot field
selection_typePivotTableSelectionTypeIndicates how to select data.
is_grand_rowboolIndicates whether selecting grand total rows.
is_grand_columnboolIndicates whether selecting grand total columns.
styleStyleThe style which appies to the area of the pivot table.

See Also