CT_BubbleChart
paper-pptx 0.2.0 API reference
<c:bubbleChart> custom element class
Attributes
bubble3D
attributebubble3D= ZeroOrOne('c:bubble3D', successors=(_tag_seq[5:]))bubbleScale
attributebubbleScale= ZeroOrOne('c:bubbleScale', successors=(_tag_seq[6:]))cat
attributecatReturn the c:cat element of the first series in this xChart, or
None if not present.
cat_pt_count
attributecat_pt_countReturn the value of the c:ptCount descendent of this xChart
element. Its parent can be one of three element types. This value
represents the true number of (leaf) categories, although they might
not all have a corresponding c:pt sibling; a category with no label
does not get a c:pt element. Returns 0 if there is no c:ptCount
descendent.
cat_pts
attributecat_ptsReturn a sequence representing the c:pt elements under the c:cat
element of the first series in this xChart element. A category having
no value will have no corresponding c:pt element; None will
appear in that position in such cases. Items appear in idx order.
Only those in the first <c:lvl> element are included in the case
of multi-level categories.
dLbls
attributedLbls= ZeroOrOne('c:dLbls', successors=(_tag_seq[3:]))grouping_val
attributegrouping_valReturn the value of the ./c:grouping{val=?} attribute, taking
defaults into account when items are not present.
ser
attributeser= ZeroOrMore('c:ser', successors=(_tag_seq[2:]))sers
attributesersSequence of <c:ser> child elements in this xChart in c:order/@val
sequence (not document or c:idx 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 <c:ser> child element in this xChart in
c:order/@val sequence (not document or c:idx order).
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