o
    7 h                     @  sH   d Z ddlmZ ddlmZ ddlmZ ddlmZ G dd deZ	dS )	zUMarker-related objects.

Only the line-type charts Line, XY, and Radar have markers.
    )annotations)ChartFormat)ElementProxy)lazypropertyc                   @  sP   e Zd ZdZedd Zedd Zejdd Zedd Z	e	jd	d Z	d
S )Markerz`
    Represents a data point marker, such as a diamond or circle, on
    a line-type chart.
    c                 C  s   | j  }t|S )z
        The |ChartFormat| instance for this marker, providing access to shape
        properties such as fill and line.
        )_elementget_or_add_markerr   selfmarker r   Y/var/www/html/figdemos/bartoux_crm/venv/lib/python3.10/site-packages/pptx/chart/marker.pyformat   s   
zMarker.formatc                 C     | j j}|du r
dS |jS )aw  
        An integer between 2 and 72 inclusive indicating the size of this
        marker in points. A value of |None| indicates no explicit value is
        set and the size is inherited from a higher-level setting or the
        PowerPoint default (which may be 9). Assigning |None| removes any
        explicitly assigned size, causing this value to be inherited.
        N)r   r   size_valr	   r   r   r   size   s   	zMarker.sizec                 C  0   | j  }|  |d u rd S | }||_d S N)r   r   _remove_size	_add_sizeval)r
   valuer   r   r   r   r   r   *      

c                 C  r   )z
        A member of the :ref:`XlMarkerStyle` enumeration indicating the shape
        of this marker. Returns |None| if no explicit style has been set,
        which corresponds to the "Automatic" option in the PowerPoint UI.
        N)r   r   
symbol_valr	   r   r   r   style3   s   zMarker.stylec                 C  r   r   )r   r   _remove_symbol_add_symbolr   )r
   r   r   symbolr   r   r   r   ?   r   N)
__name__
__module____qualname____doc__r   r   propertyr   setterr   r   r   r   r   r      s    



r   N)
r!   
__future__r   pptx.dml.chtfmtr   pptx.sharedr   	pptx.utilr   r   r   r   r   r   <module>   s    