spacing property

AxisTickLabels.spacing property

Gets or sets the interval at which the tick labels are drawn.

@property
def spacing(self) -> int:
    ...

@spacing.setter
def spacing(self, value: int):
    ...

Remarks

The property has effect for text category and series axes. It is not supported by MS Office 2016 new charts. Valid range of a value is greater than or equal to 1.

Setting this property sets the AxisTickLabels.is_auto_spacing property to False.

See Also