CT_PlotArea
paper-pptx 0.2.0 API reference
<c:plotArea> element.
Attributes
catAx
attributecatAx= ZeroOrMore('c:catAx')last_ser
attributelast_serReturn the last <c:ser> element in the last xChart element, based
on series order (not necessarily the same element as document order).
next_idx
attributenext_idxReturn the next available c:ser/c:idx value within the scope of
this chart, the maximum idx value found on existing series,
incremented by one.
next_order
attributenext_orderReturn the next available c:ser/c:order value within the scope of
this chart, the maximum order value found on existing series,
incremented by one.
sers
attributesersReturn a sequence containing all the c:ser elements in this chart,
ordered first by the document order of the containing xChart element,
then by their ordering within the xChart element (not necessarily
document order).
valAx
attributevalAx= ZeroOrMore('c:valAx')xCharts
attributexChartsReturn a sequence containing all the c:{x}Chart elements in this
chart, in document order.
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= ()iter_sers
funciter_sers()Generate each of the c:ser elements in this chart, ordered first by
the document order of the containing xChart element, then by their
ordering within the xChart element (not necessarily document order).
iter_xCharts
funciter_xCharts()Generate each xChart child element in document.
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