
    hi0                    b    d Z ddlmZ ddlmZ ddlmZ ddlmZ ddl	m
Z
  G d de          Zd	S )
z|ChartFormat| and related objects.

|ChartFormat| acts as proxy for the `spPr` element, which provides visual shape properties such as
line and fill for chart elements.
    )annotations)
FillFormat)
LineFormat)ElementProxy)lazypropertyc                  >    e Zd ZdZed             Zed             ZdS )ChartFormataz  
    The |ChartFormat| object provides access to visual shape properties for
    chart elements like |Axis|, |Series|, and |MajorGridlines|. It has two
    properties, :attr:`fill` and :attr:`line`, which return a |FillFormat|
    and |LineFormat| object respectively. The |ChartFormat| object is
    provided by the :attr:`format` property on the target axis, series, etc.
    c                \    | j                                         }t          j        |          S )zx
        |FillFormat| instance for this object, providing access to fill
        properties such as fill color.
        )_elementget_or_add_spPrr   from_fill_parentselfspPrs     g/var/www/development/aibuddy-work/election-extract/venv/lib/python3.11/site-packages/pptx/dml/chtfmt.pyfillzChartFormat.fill   s(     },,..*4000    c                R    | j                                         }t          |          S )z
        The |LineFormat| object providing access to the visual properties of
        this object, such as line color and line style.
        )r   r   r   r   s     r   linezChartFormat.line!   s%     },,..$r   N)__name__
__module____qualname____doc__r   r   r    r   r   r	   r	      sT          1 1 \1     \     r   r	   N)r   
__future__r   pptx.dml.fillr   pptx.dml.liner   pptx.sharedr   	pptx.utilr   r	   r   r   r   <module>r       s     # " " " " " $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ " " " " " "         ,          r   