Paper Office
paper-pptxAPI referenceenum.chart

XL_MARKER_STYLE

paper-pptx 0.2.0 API reference

Specifies the marker style for a point or series in a line, scatter, or radar chart.

Example::

from pptx.enum.chart import XL_MARKER_STYLE

series.marker.style = XL_MARKER_STYLE.CIRCLE

MS API Name: XlMarkerStyle

http://msdn.microsoft.com/en-us/library/office/ff197219.aspx

Attributes

AUTOMATIC

attributeAUTOMATIC
= (-4105, 'auto', 'Automatic markers')

Automatic markers

CIRCLE

attributeCIRCLE
= (8, 'circle', 'Circular markers')

Circular markers

DASH

attributeDASH
= (-4115, 'dash', 'Long bar markers')

Long bar markers

DIAMOND

attributeDIAMOND
= (2, 'diamond', 'Diamond-shaped markers')

Diamond-shaped markers

DOT

attributeDOT
= (-4118, 'dot', 'Short bar markers')

Short bar markers

NONE

attributeNONE
= (-4142, 'none', 'No markers')

No markers

PICTURE

attributePICTURE
= (-4147, 'picture', 'Picture markers')

Picture markers

PLUS

attributePLUS
= (9, 'plus', 'Square markers with a plus sign')

Square markers with a plus sign

SQUARE

attributeSQUARE
= (1, 'square', 'Square markers')

Square markers

STAR

attributeSTAR
= (5, 'star', 'Square markers with an asterisk')

Square markers with an asterisk

TRIANGLE

attributeTRIANGLE
= (3, 'triangle', 'Triangular markers')

Triangular markers

X

attributeX
= (-4168, 'x', 'Square markers with an X')

Square markers with an X

xml_value

attributexml_valuestr | None

Functions

from_xml

funcfrom_xml(xml_value: str) -> Self

Enumeration member corresponding to XML attribute value xml_value.

Raises ValueError if xml_value is the empty string ("") or is not an XML attribute value registered on the enumeration. Note that enum members that do not correspond to one of the defined values for an XML attribute have xml_value == "". These "return-value only" members cannot be automatically mapped from an XML attribute value and must be selected explicitly by code, based on the appropriate conditions.

Example::

WD_PARAGRAPH_ALIGNMENT.from_xml("center") WD_PARAGRAPH_ALIGNMENT.CENTER

paramxml_valuestr

Returns

typing_extensions.Self

to_xml

functo_xml(value: int | _T) -> str

XML value of this enum member, generally an XML attribute value.

paramvalueint | _T

Returns

str

validate

funcvalidate(value: _T)

Raise ValueError if value is not an assignable value.

paramvalue_T

On this page