paper-pptxAPI referenceoxml.chart.axis
CT_DateAx
paper-pptx 0.2.0 API reference
c:dateAx element, defining a date (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[18:]))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
attributeorientationValue 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
attributexmlstrXML 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 | NoneFirst child with tag in tagnames, or None if not found.
paramtagnamesstr= ()Returns
lxml.etree._Element | Noneinsert_element_before
funcinsert_element_before(elm: ElementBase, *tagnames: str)paramelmElementBaseparamtagnamesstr= ()remove_all
funcremove_all(*tagnames: str) -> NoneRemove child elements with tagname (e.g. "a:p") in tagnames.
paramtagnamesstr= ()Returns
Nonexpath
funcxpath(xpath_str: str) -> AnyOverride of lxml _Element.xpath() method.
Provides standard Open XML namespace mapping (nsmap) in centralized location.
paramxpath_strstrReturns
typing.Any