Paper Office
paper-pptxAPI referencechart.axis

TickLabels

paper-pptx 0.2.0 API reference

A service class providing access to formatting of axis tick mark labels.

TickLabels(xAx_elm)

Attributes

font

attributefont

The Font object that provides access to the text properties for these tick labels, such as bold, italic, etc.

number_format

attributenumber_format

Read/write string (e.g. "$#,##0.00") specifying the format for the numbers on this axis. The syntax for these strings is the same as it appears in the PowerPoint or Excel UI. Returns 'General' if no number format has been set. Note that this format string has no effect on rendered tick labels when :meth:number_format_is_linked is True. Assigning a format string to this property automatically sets :meth:number_format_is_linked to False.

number_format_is_linked

attributenumber_format_is_linked

Read/write boolean specifying whether number formatting should be taken from the source spreadsheet rather than the value of :meth:number_format.

offset

attributeoffset

Read/write int value in range 0-1000 specifying the spacing between the tick mark labels and the axis as a percentange of the default value. 100 if no label offset setting is present.

On this page