Paper Office
paper-pptxAPI referenceoxml.chart.axis

CT_CatAx

paper-pptx 0.2.0 API reference

c:catAx element, defining a category axis.

Attributes

crosses

attributecrosses
= ZeroOrOne('c:crosses', successors=(_tag_seq[15:]))

crossesAt

attributecrossesAt
= ZeroOrOne('c:crossesAt', successors=(_tag_seq[16:]))

defRPr

attributedefRPr

<a:defRPr> great-great-grandchild element, added with its ancestors if not present.

delete_

attributedelete_
= ZeroOrOne('c:delete', successors=(_tag_seq[3:]))

lblOffset

attributelblOffset
= ZeroOrOne('c:lblOffset', successors=(_tag_seq[19:]))

majorGridlines

attributemajorGridlines
= ZeroOrOne('c:majorGridlines', successors=(_tag_seq[5:]))

majorTickMark

attributemajorTickMark
= ZeroOrOne('c:majorTickMark', successors=(_tag_seq[9:]))

minorGridlines

attributeminorGridlines
= ZeroOrOne('c:minorGridlines', successors=(_tag_seq[6:]))

minorTickMark

attributeminorTickMark
= ZeroOrOne('c:minorTickMark', successors=(_tag_seq[10:]))

numFmt

attributenumFmt
= ZeroOrOne('c:numFmt', successors=(_tag_seq[8:]))

orientation

attributeorientation

Value of val attribute of c:scaling/c:orientation grandchild element.

Defaults to ST_Orientation.MIN_MAX if attribute or any ancestors are not present.

scaling

attributescaling
= OneAndOnlyOne('c:scaling')

spPr

attributespPr
= ZeroOrOne('c:spPr', successors=(_tag_seq[12:]))

tickLblPos

attributetickLblPos
= ZeroOrOne('c:tickLblPos', successors=(_tag_seq[11:]))

title

attributetitle
= ZeroOrOne('c:title', successors=(_tag_seq[7:]))

txPr

attributetxPr
= ZeroOrOne('c:txPr', successors=(_tag_seq[13:]))

xml

attributexmlstr

XML string for this element, suitable for testing purposes.

Pretty printed for readability and without an XML declaration at the top.

Functions

first_child_found_in

funcfirst_child_found_in(*tagnames: str) -> _Element | None

First child with tag in tagnames, or None if not found.

paramtagnamesstr
= ()

Returns

lxml.etree._Element | None

insert_element_before

funcinsert_element_before(elm: ElementBase, *tagnames: str)
paramelmElementBase
paramtagnamesstr
= ()

remove_all

funcremove_all(*tagnames: str) -> None

Remove child elements with tagname (e.g. "a:p") in tagnames.

paramtagnamesstr
= ()

Returns

None

xpath

funcxpath(xpath_str: str) -> Any

Override of lxml _Element.xpath() method.

Provides standard Open XML namespace mapping (nsmap) in centralized location.

paramxpath_strstr

Returns

typing.Any

On this page