+
    ^eòj9t  ã                  ó¬  € R t ^ RIHt ^ RIt^ RIHt ^ RIHt ^ RIH	t	H
t
Ht ^ RIHt ^ RIHt  ! R R	]4      t ! R
 R]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R  R!]4      t ! R" R#]4      t ! R$ R%]4      tR# )&zChartData and related objects.)ÚannotationsN)ÚSequence)ÚNumber)ÚBubbleWorkbookWriterÚCategoryWorkbookWriterÚXyWorkbookWriter)ÚChartXmlWriter)Úlazypropertyc                  óœ   a € ] tR t^tRtRV 3R lltR tR tR tR t	]
R 4       tR tR	 tR
 t]
R 4       tR tR t]
R 4       tR tRtV ;t# )Ú_BaseChartDataaÈ  Base class providing common members for chart data objects.

A chart data object serves as a proxy for the chart data table that will be written to an
Excel worksheet; operating as a sequence of series as well as providing access to chart-level
attributes. A chart data object is used as a parameter in :meth:`shapes.add_chart` and
:meth:`Chart.replace_data`. The data structure varies between major chart categories such as
category charts and XY charts.
c                	óF   <€ \         \        V `  4        Wn        . V n        R # ©N)Úsuperr   Ú__init__Ú_number_formatÚ_series)ÚselfÚnumber_formatÚ	__class__s   &&€Ú†/opt/data/installs/351f81cc06284494/environments/aa258815729c481f8402f54f4c368f83/venv/lib/python3.14/site-packages/pptx/chart/data.pyr   Ú_BaseChartData.__init__   s   ø€ ÜŒn˜dÑ,Ô.Ø+ÔØˆŽó    c                	ó8   € V P                   P                  V4      # r   )r   Ú__getitem__©r   Úindexs   &&r   r   Ú_BaseChartData.__getitem__!   s   € Ø�|‰|×'Ñ'¨Ó.Ð.r   c                	ó6   € V P                   P                  4       # r   )r   Ú__len__©r   s   &r   r   Ú_BaseChartData.__len__$   s   € Ø�|‰|×#Ñ#Ó%Ð%r   c                	ó8   € V P                   P                  V4      # r   )r   Úappend©r   Úseriess   &&r   r"   Ú_BaseChartData.append'   s   € Ø�|‰|×"Ñ" 6Ó*Ð*r   c                ód   € ^ pV  F  pWJ d   Vu # V\        V4      ,          pK   	  \        R4      h)z|
The total integer number of data points appearing in the series of
this chart that are prior to *series* in this sequence.
úseries not in chart data object)ÚlenÚ
ValueError)r   r$   ÚcountÚthis_seriess   &&  r   Údata_point_offsetÚ _BaseChartData.data_point_offset*   s;   € ð
 ˆÛˆKØÓ$Ø’Ø”S˜Ó%Õ%ŠEñ  ô Ð:Ó;Ð;r   c                ó   € V P                   # )a?  
The formatting template string, e.g. '#,##0.0', that determines how
X and Y values are formatted in this chart and in the Excel
spreadsheet. A number format specified on a series will override this
value for that series. Likewise, a distinct number format can be
specified for a particular data point within a series.
©r   r   s   &r   r   Ú_BaseChartData.number_format6   s   € ð ×"Ñ"Ð"r   c                óR   € \        V 4       F  w  r#WJ g   K  Vu # 	  \        R4      h)z8
Return the integer index of *series* in this sequence.
r'   )Ú	enumerater)   )r   r$   ÚidxÚss   &&  r   Úseries_indexÚ_BaseChartData.series_indexA   s,   € ô   –o‰FˆCØ�{Ø’
ñ &ô Ð:Ó;Ð;r   c                ó8   € V P                   P                  V4      # )zT
Return the Excel worksheet reference to the cell containing the name
for *series*.
)Ú_workbook_writerÚseries_name_refr#   s   &&r   r9   Ú_BaseChartData.series_name_refJ   s   € ð
 ×$Ñ$×4Ñ4°VÓ<Ð<r   c                ó8   € V P                   P                  V4      # )z^
The Excel worksheet reference to the X values for *series* (not
including the column label).
)r8   Úx_values_refr#   s   &&r   r<   Ú_BaseChartData.x_values_refQ   ó   € ð
 ×$Ñ$×1Ñ1°&Ó9Ð9r   c                ó.   € V P                   P                  # )zh
Return a blob containing an Excel workbook file populated with the
contents of this chart data object.
)r8   Ú	xlsx_blobr   s   &r   r@   Ú_BaseChartData.xlsx_blobX   s   € ð ×$Ñ$×.Ñ.Ð.r   c                óB   € V P                  V4      P                  R4      # )z¡
Return a blob containing the XML for a chart of *chart_type*
containing the series in this chart data object, as bytes suitable
for writing directly to a file.
zutf-8)Ú_xmlÚencode©r   Ú
chart_types   &&r   Ú	xml_bytesÚ_BaseChartData.xml_bytes`   s   € ð �y‰y˜Ó$×+Ñ+¨GÓ4Ð4r   c                ó8   € V P                   P                  V4      # )z^
The Excel worksheet reference to the Y values for *series* (not
including the column label).
)r8   Úy_values_refr#   s   &&r   rJ   Ú_BaseChartData.y_values_refh   r>   r   c                ó   € \        R4      h)úr
The worksheet writer object to which layout and writing of the Excel
worksheet for this chart will be delegated.
z%must be implemented by all subclasses)ÚNotImplementedErrorr   s   &r   r8   Ú_BaseChartData._workbook_writero   s   € ô "Ð"IÓJÐJr   c                ó,   € \        W4      P                  # )zÏ
Return (as unicode text) the XML for a chart of *chart_type*
populated with the values in this chart data object. The XML is
a complete XML document, including an XML declaration specifying
UTF-8 encoding.
)r   ÚxmlrE   s   &&r   rC   Ú_BaseChartData._xmlw   s   € ô ˜jÓ/×3Ñ3Ð3r   )r   r   )ÚGeneral)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   r   r   r"   r,   Úpropertyr   r5   r9   r<   r@   rG   rJ   r8   rC   Ú__static_attributes__Ú__classcell__©r   s   @r   r   r      s‚   ø† ñ÷ò
/ò&ò+ò
<ð ñ#ó ð#ò<ò=ò:ð ñ/ó ð/ò5ò:ð ñKó ðK÷4ð 4r   r   c                  óÂ   € ] tR t^�tRtR tR tR tR t]	R 4       t
]	R 4       t]	R 4       t]	R	 4       t]	R
 4       t]	R 4       t]	R 4       t]	R 4       t]	R 4       tRtR# )Ú_BaseSeriesDataa  
Base class providing common members for series data objects. A series
data object serves as proxy for a series data column in the Excel
worksheet. It operates as a sequence of data points, as well as providing
access to series-level attributes like the series label.
c                	ó8   € Wn         W n        W0n        . V n        R # r   )Ú_chart_dataÚ_namer   Ú_data_points)r   Ú
chart_dataÚnamer   s   &&&&r   r   Ú_BaseSeriesData.__init__‰   s   € Ø%ÔØŒ
Ø+ÔØˆÖr   c                	ó8   € V P                   P                  V4      # r   )rb   r   r   s   &&r   r   Ú_BaseSeriesData.__getitem__�   s   € Ø× Ñ ×,Ñ,¨UÓ3Ð3r   c                	ó6   € V P                   P                  4       # r   )rb   r   r   s   &r   r   Ú_BaseSeriesData.__len__’   s   € Ø× Ñ ×(Ñ(Ó*Ð*r   c                	ó8   € V P                   P                  V4      # r   )rb   r"   )r   Ú
data_points   &&r   r"   Ú_BaseSeriesData.append•   s   € Ø× Ñ ×'Ñ'¨
Ó3Ð3r   c                ó8   € V P                   P                  V 4      # )zU
The integer count of data points that appear in all chart series
prior to this one.
)r`   r,   r   s   &r   r,   Ú!_BaseSeriesData.data_point_offset˜   s   € ð ×Ñ×1Ñ1°$Ó7Ð7r   c                ó8   € V P                   P                  V 4      # )zŒ
Zero-based integer indicating the sequence position of this series in
its chart. For example, the second of three series would return `1`.
)r`   r5   r   s   &r   r   Ú_BaseSeriesData.index    ó   € ð ×Ñ×,Ñ,¨TÓ2Ð2r   c                ó:   € V P                   e   V P                   # R# )z¾
The name of this series, e.g. 'Series 1'. This name is used as the
column heading for the y-values of this series and may also appear in
the chart legend and perhaps other chart locations.
Ú )ra   r   s   &r   rd   Ú_BaseSeriesData.name¨   s   € ð "ŸZ™ZÒ3ˆt�z‰zÐ;¸Ð;r   c                ó8   € V P                   P                  V 4      # )zP
The Excel worksheet reference to the cell containing the name for
this series.
)r`   r9   r   s   &r   Úname_refÚ_BaseSeriesData.name_ref±   s   € ð ×Ñ×/Ñ/°Ó5Ð5r   c                óR   € V P                   pVf   V P                  P                  # V# )zö
The formatting template string that determines how a number in this
series is formatted, both in the chart and in the Excel spreadsheet;
for example '#,##0.0'. If not specified for this series, it is
inherited from the parent chart data object.
)r   r`   r   ©r   r   s   & r   r   Ú_BaseSeriesData.number_format¹   s-   € ð ×+Ñ+ˆØÒ Ø×#Ñ#×1Ñ1Ð1ØÐr   c                óV   € V P                    Uu. uF  qP                  NK  	  up# u upi )zZ
A sequence containing the X value of each datapoint in this series,
in data point order.
)rb   Úx©r   Údps   & r   Úx_valuesÚ_BaseSeriesData.x_valuesÆ   ó&   € ð  $×0Ò0Ó1Ñ0˜—”Ñ0Ñ1Ð1ùÒ1ó   �&c                ó8   € V P                   P                  V 4      # )zb
The Excel worksheet reference to the X values for this chart (not
including the column heading).
)r`   r<   r   s   &r   r<   Ú_BaseSeriesData.x_values_refÎ   rq   r   c                óV   € V P                    Uu. uF  qP                  NK  	  up# u upi )zZ
A sequence containing the Y value of each datapoint in this series,
in data point order.
)rb   Úyr}   s   & r   Úy_valuesÚ_BaseSeriesData.y_valuesÖ   r�   r‚   c                ó8   € V P                   P                  V 4      # )zb
The Excel worksheet reference to the Y values for this chart (not
including the column heading).
)r`   rJ   r   s   &r   rJ   Ú_BaseSeriesData.y_values_refÞ   rq   r   )r`   rb   ra   r   N)rT   rU   rV   rW   rX   r   r   r   r"   rY   r,   r   rd   rv   r   r   r<   r‡   rJ   rZ   © r   r   r^   r^   �   sÏ   † ñòò4ò+ò4ð ñ8ó ð8ð ñ3ó ð3ð ñ<ó ð<ð ñ6ó ð6ð ñ
ó ð
ð ñ2ó ð2ð ñ3ó ð3ð ñ2ó ð2ð ñ3ó ô3r   r^   c                  ó<   a € ] tR t^çtRtV 3R lt]R 4       tRtV ;t	# )Ú_BaseDataPointz=
Base class providing common members for data point objects.
c                	óD   <€ \         \        V `  4        Wn        W n        R # r   )r   r�   r   Ú_series_datar   )r   Úseries_datar   r   s   &&&€r   r   Ú_BaseDataPoint.__init__ì   s   ø€ ÜŒn˜dÑ,Ô.Ø'ÔØ+Ör   c                óR   € V P                   pVf   V P                  P                  # V# )a   
The formatting template string that determines how the value of this
data point is formatted, both in the chart and in the Excel
spreadsheet; for example '#,##0.0'. If not specified for this data
point, it is inherited from the parent series data object.
)r   r�   r   ry   s   & r   r   Ú_BaseDataPoint.number_formatñ   s-   € ð ×+Ñ+ˆØÒ Ø×$Ñ$×2Ñ2Ð2ØÐr   )r   r�   )
rT   rU   rV   rW   rX   r   rY   r   rZ   r[   r\   s   @r   r�   r�   ç   s!   ø† ñõ,ð
 ñ
ó ö
r   r�   c                  ó„   € ] tR t^ÿtRtR tRR lt]R 4       t]P                  R 4       t]R 4       t
R t]R	 4       tR
tR# )ÚCategoryChartDataaè  
Accumulates data specifying the categories and series values for a chart
and acts as a proxy for the chart data table that will be written to an
Excel worksheet. Used as a parameter in :meth:`shapes.add_chart` and
:meth:`Chart.replace_data`.

This object is suitable for use with category charts, i.e. all those
having a discrete set of label values (categories) as the range of their
independent variable (X-axis) values. Unlike the ChartData types for
charts supporting a continuous range of independent variable values (such
as XyChartData), CategoryChartData has a single collection of category
(X) values and each data point in its series specifies only the Y value.
The corresponding X value is inferred by its position in the sequence.
c                ó8   € V P                   P                  V4      # )aV  
Return a newly created |data.Category| object having *label* and
appended to the end of the category collection for this chart.
*label* can be a string, a number, a datetime.date, or
datetime.datetime object. All category labels in a chart must be the
same type. All category labels in a chart having multi-level
categories must be strings.
)Ú
categoriesÚadd_category)r   Úlabels   &&r   r˜   ÚCategoryChartData.add_category  s   € ð �‰×+Ñ+¨EÓ2Ð2r   Nc                ót   € \        WV4      pV P                  V4       V F  pVP                  V4       K  	  V# )a  
Add a series to this data set entitled *name* and having the data
points specified by *values*, an iterable of numeric values.
*number_format* specifies how the series values will be displayed,
and may be a string, e.g. '#,##0' corresponding to an Excel number
format.
)ÚCategorySeriesDatar"   Úadd_data_point)r   rd   Úvaluesr   r�   Úvalues   &&&&  r   Ú
add_seriesÚCategoryChartData.add_series  s:   € ô )¨°]ÓCˆØ�‰�KÔ ÛˆEØ×&Ñ& uÖ-ñ àÐr   c                ó^   € \        V RR4      '       g   \        4       V n        V P                  # )at  |data.Categories| object providing access to category-object hierarchy.

Assigning an iterable of category labels (strings, numbers, or dates) replaces
the |data.Categories| object with a new one containing a category for each label
in the sequence.

Creating a chart from chart data having date categories will cause the chart to
have a |DateAxis| for its category axis.
Ú_categoriesF)ÚgetattrÚ
Categoriesr£   r   s   &r   r—   ÚCategoryChartData.categories(  s)   € ô �t˜]¨E×2Ò2Ü)›|ˆDÔØ×ÑÐr   c                	óZ   € \        4       pV F  pVP                  V4       K  	  W n        R # r   )r¥   r˜   r£   )r   Úcategory_labelsr—   r™   s   &&  r   r—   r¦   7  s'   € ä“\ˆ
Û$ˆEØ×#Ñ# EÖ*ñ %à%Ör   c                ó.   € V P                   P                  # ©zd
The Excel worksheet reference to the categories for this chart (not
including the column heading).
)r8   Úcategories_refr   s   &r   r«   Ú CategoryChartData.categories_ref>  s   € ð ×$Ñ$×3Ñ3Ð3r   c                ó8   € V P                   P                  V4      # )z^
The Excel worksheet reference to the values for *series* (not
including the column heading).
)r8   Ú
values_refr#   s   &&r   r®   ÚCategoryChartData.values_refF  s   € ð
 ×$Ñ$×/Ñ/°Ó7Ð7r   c                ó   € \        V 4      # ©rM   )r   r   s   &r   r8   Ú"CategoryChartData._workbook_writerM  s   € ô & dÓ+Ð+r   )r£   )r‹   N)rT   rU   rV   rW   rX   r˜   r    rY   r—   Úsetterr«   r®   r	   r8   rZ   r‹   r   r   r•   r•   ÿ   sl   † ñò	3ôð ñ ó ð ð ×Ññ&ó ð&ð ñ4ó ð4ò8ð ñ,ó ô,r   r•   c                  óÈ   a € ] tR tRtRtV 3R ltR tR tR t]	R 4       t
]	R 4       t]	R	 4       tR
 t]	R 4       t]	R 4       t]	R 4       t]P"                  R 4       tRtV ;t# )r¥   iV  z‰
A sequence of |data.Category| objects, also having certain hierarchical
graph behaviors for support of multi-level (nested) categories.
c                	óH   <€ \         \        V `  4        . V n        R V n        R # r   )r   r¥   r   r£   r   )r   r   s   &€r   r   ÚCategories.__init__\  s    ø€ ÜŒj˜$Ñ(Ô*ØˆÔØ"ˆÖr   c                	ó8   € V P                   P                  V4      # r   )r£   r   )r   r3   s   &&r   r   ÚCategories.__getitem__a  s   € Ø×Ñ×+Ñ+¨CÓ0Ð0r   c                ó6   € V P                   P                  4       # )zÓ
Return the count of the highest level of category in this sequence.
If it contains hierarchical (multi-level) categories, this number
will differ from :attr:`category_count`, which is the number of leaf
nodes.
)r£   r   r   s   &r   r   ÚCategories.__len__d  s   € ð ×Ñ×'Ñ'Ó)Ð)r   c                óR   € \        W4      pV P                  P                  V4       V# )aÀ  
Return a newly created |data.Category| object having *label* and
appended to the end of this category sequence. *label* can be
a string, a number, a datetime.date, or datetime.datetime object. All
category labels in a chart must be the same type. All category labels
in a chart having multi-level categories must be strings.

Creating a chart from chart data having date categories will cause
the chart to have a |DateAxis| for its category axis.
)ÚCategoryr£   r"   ©r   r™   Úcategorys   && r   r˜   ÚCategories.add_categorym  s'   € ô ˜EÓ(ˆØ×Ñ×Ñ Ô)Øˆr   c                ó¸   € V P                   ^8w  d   R# V ^ ,          P                  p\        P                  \        P                  3p\	        W4      '       d   R# R# )a�  
Return |True| if the first category in this collection has a date
label (as opposed to str or numeric). A date label is one of type
datetime.date or datetime.datetime. Returns |False| otherwise,
including when this category collection is empty. It also returns
False when this category collection is hierarchical, because
hierarchical categories can only be written as string labels.
FT)Údepthr™   ÚdatetimeÚdateÚ
isinstance)r   Úfirst_cat_labelÚ
date_typess   &  r   Ú	are_datesÚCategories.are_dates|  sD   € ð �:‰:˜Œ?ÙØ˜q�'Ÿ-™-ˆÜ—m‘m¤X×%6Ñ%6Ð7ˆ
Ü�o×2Ò2ÙÙr   c                óÂ   € V P                   ^8w  d   R# V ^ ,          P                  p\        \        P                  \        P                  3p\        W4      '       d   R# R# )aÆ  
Return |True| if the first category in this collection has a numeric
label (as opposed to a string label), including if that value is
a datetime.date or datetime.datetime object (as those are converted
to integers for storage in Excel). Returns |False| otherwise,
including when this category collection is empty. It also returns
False when this category collection is hierarchical, because
hierarchical categories can only be written as string labels.
FT)rÁ   r™   r   rÂ   rÃ   rÄ   )r   rÅ   Únumeric_typess   &  r   Úare_numericÚCategories.are_numericŽ  sH   € ð �:‰:˜Œ?Ùð
 ˜q�'Ÿ-™-ˆÜ¤§¡´×0AÑ0AÐBˆÜ�o×5Ò5ÙÙr   c                ó°   € V P                   pV'       g   ^ # V^ ,          P                  pVR,           F  pVP                  V8w  g   K  \        R4      h	  V# )z`
The number of hierarchy levels in this category graph. Returns 0 if
it contains no categories.
ºé   NNúcategory depth not uniform)r£   rÁ   r)   )r   r—   Úfirst_depthr¾   s   &   r   rÁ   ÚCategories.depth¥  sT   € ð ×%Ñ%ˆ
ßÙØ  •m×)Ñ)ˆØ" 2Ÿ˜ˆHØ�~‰~ Ö,Ü Ð!=Ó>Ð>ñ 'ð Ðr   c                óx   € ^ pV P                    F  pWJ d   Vu # W#P                  ,          pK   	  \        R4      h)z„
The offset of *category* in the overall sequence of leaf categories.
A non-leaf category gets the index of its first sub-category.
z$category not in top-level categories)r£   Ú
leaf_countr)   )r   r¾   r   Úthis_categorys   &&  r   r   ÚCategories.index´  s@   € ð
 ˆØ!×-Ô-ˆMØÓ(Ø’Ø×-Ñ-Õ-ŠEñ .ô Ð?Ó@Ð@r   c                ó:   € \        R V P                   4       4      # )z‘
The number of leaf-level categories in this hierarchy. The return
value is the same as that of `len()` only when the hierarchy is
single level.
c              3  ó8   "  € T F  qP                   x € K  	  R # 5ir   ©rÔ   )Ú.0Úcs   & r   Ú	<genexpr>Ú(Categories.leaf_count.<locals>.<genexpr>Ç  s   é € Ð:Ñ)9 A—<–<Ó)9ùó   ‚)Úsumr£   r   s   &r   rÔ   ÚCategories.leaf_countÀ  s   € ô Ñ:¨×)9Ò)9Ó:Ó:Ð:r   c              #  óB   a"  € V3R loS! V 4       F  pVx € K	  	  R# 5i)z·
A generator of (idx, label) sequences representing the category
hierarchy from the bottom up. The first level contains all leaf
categories, and each subsequent is the next level up.
c              3  óö   <"  € V  UUu. uF  qP                    F  q"NK  	  K  	  pppV'       d   S! V4       F  pVx € K	  	  V  Uu. uF  qUP                  VP                  3NK  	  upx € R # u uppi u upi 5ir   )Úsub_categoriesr3   r™   )r—   rÛ   Úscrã   ÚlevelÚcatÚlevelss   &     €r   rç   Ú!Categories.levels.<locals>.levelsÑ  sk   øé € á*4ÔP©* Q×?OÔ?O¸šbÑ?O™b©*ˆNÑPßÙ# NÖ3�EØ”Kñ 4ñ 4>Ó>±:¨C—G‘G˜SŸY™YÓ'±:Ñ>Ô>ùó Qùò
 ?ùs   ƒA9‰A.¥"A9Á A4Á'A9Nr‹   )r   rå   rç   s   & @r   rç   ÚCategories.levelsÉ  s    øé € õ	?ñ ˜D–\ˆEØŒKó "ùs   ƒc                óî   € RpV P                   e   V P                   # V P                  ^8w  d   V# V ^ ,          P                  p\        V\        P
                  \        P                  34      '       d   R# V# )a�  
Read/write. Return a string representing the number format used in
Excel to format these category values, e.g. '0.0' or 'mm/dd/yyyy'.
This string is only relevant when the categories are numeric or date
type, although it returns 'General' without error when the categories
are string labels. Assigning |None| causes the default number format
to be used, based on the type of the category labels.
rS   zyyyy\-mm\-dd)r   rÁ   r™   rÄ   rÂ   rÃ   )r   ÚGENERALrÅ   s   &  r   r   ÚCategories.number_formatÝ  sh   € ð ˆð ×ÑÒ*Ø×&Ñ&Ð&ð �:‰:˜Œ?ØˆNð ˜q�'Ÿ-™-ˆÜ�o¬¯©´x×7HÑ7HÐ'I×JÒJÙ"Øˆr   c                	ó   € Wn         R # r   r/   )r   rŸ   s   &&r   r   rì   ø  s   € à#Ör   )r£   r   )rT   rU   rV   rW   rX   r   r   r   r˜   rY   rÇ   rË   rÁ   r   rÔ   rç   r   r³   rZ   r[   r\   s   @r   r¥   r¥   V  s´   ø† ñõ
#ò
1ò*òð ñó ðð" ñó ðð, ñó ðò
Að ñ;ó ð;ð ñó ðð& ñó ðð4 ×Ññ$ó ö$r   r¥   c                  ó˜   a € ] tR tRtRtV 3R ltR t]R 4       t]R 4       t	R t
]R 4       t]R	 4       tRR
 lt]R 4       tR tRtV ;t# )r¼   iý  z¬
A chart category, primarily having a label to be displayed on the
category axis, but also able to be configured in a hierarchy for support
of multi-level category charts.
c                	óR   <€ \         \        V `  4        Wn        W n        . V n        R # r   )r   r¼   r   Ú_labelÚ_parentÚ_sub_categories)r   r™   Úparentr   s   &&&€r   r   ÚCategory.__init__  s"   ø€ ÜŒh˜Ñ&Ô(ØŒØŒØ!ˆÖr   c                óR   € \        W4      pV P                  P                  V4       V# )z†
Return a newly created |data.Category| object having *label* and
appended to the end of the sub-category sequence for this category.
)r¼   rò   r"   r½   s   && r   Úadd_sub_categoryÚCategory.add_sub_category
  s'   € ô
 ˜EÓ(ˆØ×Ñ×#Ñ# HÔ-Øˆr   c                ó¾   € V P                   pV'       g   ^# V^ ,          P                  pVR,           F  pVP                  V8w  g   K  \        R4      h	  V^,           # )zp
The number of hierarchy levels rooted at this category node. Returns
1 if this category has no sub-categories.
rÎ   rÐ   )rò   rÁ   r)   )r   rã   rÑ   r¾   s   &   r   rÁ   ÚCategory.depth  s[   € ð ×-Ñ-ˆßÙØ$ QÕ'×-Ñ-ˆØ& r×*Ð*ˆHØ�~‰~ Ö,Ü Ð!=Ó>Ð>ñ +ð ˜Q�Ðr   c                ó8   € V P                   P                  V 4      # )z‡
The offset of this category in the overall sequence of leaf
categories. A non-leaf category gets the index of its first
sub-category.
)rñ   r   r   s   &r   r3   ÚCategory.idx"  s   € ð �|‰|×!Ñ! $Ó'Ð'r   c                óª   € V P                   P                  V 4      pV P                   F  pWJ d   Vu # W#P                  ,          pK   	  \	        R4      h)zJ
The offset of *sub_category* in the overall sequence of leaf
categories.
z!sub_category not in this category)rñ   r   rò   rÔ   r)   )r   Úsub_categoryr   Úthis_sub_categorys   &&  r   r   ÚCategory.index+  sP   € ð
 —‘×"Ñ" 4Ó(ˆØ!%×!5Ô!5ÐØÓ0Ø’Ø×1Ñ1Õ1ŠEñ "6ô Ð<Ó=Ð=r   c                ób   € V P                   '       g   ^# \        R V P                    4       4      # )zj
The number of leaf category nodes under this category. Returns
1 if this category has no sub-categories.
c              3  ó8   "  € T F  qP                   x € K  	  R # 5ir   rÙ   )rÚ   r¾   s   & r   rÜ   Ú&Category.leaf_count.<locals>.<genexpr>?  s   é € ÐLÑ7K¨8×&Ö&Ó7KùrÞ   )rò   rß   r   s   &r   rÔ   ÚCategory.leaf_count7  s*   € ð ×#×#Ð#ÙÜÑL°t×7KÒ7KÓLÓLÐLr   c                ó:   € V P                   e   V P                   # R# )zŒ
The value that appears on the axis for this category. The label can
be a string, a number, or a datetime.date or datetime.datetime
object.
rs   )rð   r   s   &r   r™   ÚCategory.labelA  s   € ð #Ÿk™kÒ5ˆt�{‰{Ð=¸2Ð=r   c                óÔ   € V P                   p\        V\        P                  \        P                  34      '       d   RV P	                  V4      ,          # \        V P                   4      # )zê
The string representation of the numeric (or date) label of this
category, suitable for use in the XML `c:pt` element for this
category. The optional *date_1904* parameter specifies the epoch used
for calculating Excel date numbers.
z%.1f)rð   rÄ   rÂ   rÃ   Ú_excel_date_numberÚstr)r   Ú	date_1904r™   s   && r   Únumeric_str_valÚCategory.numeric_str_valJ  sN   € ð —‘ˆÜ�eœhŸm™m¬X×->Ñ->Ð?×@Ò@Ø˜D×3Ñ3°IÓ>Õ>Ð>Ü�4—;‘;ÓÐr   c                ó   € V P                   # )z5
The sequence of child categories for this category.
)rò   r   s   &r   rã   ÚCategory.sub_categoriesV  s   € ð
 ×#Ñ#Ð#r   c                ó  € \         P                  V P                  r2V! VP                  VP                  VP
                  4      pV'       d   V! R^^4      M	V! R^^4      pWE,
          pVP                  pV'       g   V^;8”  d
   V^,          pV# )zŽ
Return an integer representing the date label of this category as the
number of days since January 1, 1900 (or 1904 if date_1904 is
|True|).
ip  ik  )rÂ   rÃ   rð   ÚyearÚmonthÚdayÚdays)r   r	  rÃ   r™   Údate_ÚepochÚdeltaÚexcel_day_numbers   &&      r   r  ÚCategory._excel_date_number]  sw   € ô —m‘m T§[¡[ˆeá�U—Z‘Z §¡¨e¯i©iÓ8ˆß$-‘�T˜1˜aÔ ±4¸¸bÀ"Ó3EˆØ•ˆØ Ÿ:™:Ð÷ Ð-°Ô2Ø Õ!ÐàÐr   )rð   rñ   rò   )F)rT   rU   rV   rW   rX   r   rö   rY   rÁ   r3   r   rÔ   r™   r
  rã   r  rZ   r[   r\   s   @r   r¼   r¼   ý  sŒ   ø† ñõ"òð ñó ðð ñ(ó ð(ò
>ð ñMó ðMð ñ>ó ð>ô
 ð ñ$ó ð$÷ ð  r   r¼   c                  ó   € ] tR tRtRtRtR# )Ú	ChartDataiq  zß
|ChartData| is simply an alias for |CategoryChartData| and may be removed
in a future release. All new development should use |CategoryChartData|
for creating or replacing the data in chart types other than XY and
Bubble.
r‹   N)rT   rU   rV   rW   rX   rZ   r‹   r   r   r  r  q  s   † õr   r  c                  ód   € ] tR tRtRtR
R lt]R 4       t]R 4       t]R 4       t	]R 4       t
R	tR# )rœ   iz  zß
The data specific to a particular category chart series. It provides
access to the series label, the series data points, and an optional
number format to be applied to each data point not having a specified
number format.
Nc                ó@   € \        WV4      pV P                  V4       V# )z�
Return a CategoryDataPoint object newly created with value *value*,
an optional *number_format*, and appended to this sequence.
)ÚCategoryDataPointr"   )r   rŸ   r   rk   s   &&& r   r�   Ú!CategorySeriesData.add_data_point‚  s"   € ô
 ' t°MÓBˆ
Ø�‰�JÔØÐr   c                ó.   € V P                   P                  # )z\
The |data.Categories| object that provides access to the category
objects for this series.
)r`   r—   r   s   &r   r—   ÚCategorySeriesData.categories‹  s   € ð ×Ñ×*Ñ*Ð*r   c                ó.   € V P                   P                  # rª   )r`   r«   r   s   &r   r«   Ú!CategorySeriesData.categories_ref“  s   € ð ×Ñ×.Ñ.Ð.r   c                óV   € V P                    Uu. uF  qP                  NK  	  up# u upi )z\
A sequence containing the (Y) value of each datapoint in this series,
in data point order.
)rb   rŸ   r}   s   & r   rž   ÚCategorySeriesData.values›  s&   € ð $(×#4Ò#4Ó5Ñ#4˜R—”Ñ#4Ñ5Ð5ùÒ5r‚   c                ó8   € V P                   P                  V 4      # )ze
The Excel worksheet reference to the (Y) values for this series (not
including the column heading).
)r`   r®   r   s   &r   r®   ÚCategorySeriesData.values_ref£  s   € ð ×Ñ×*Ñ*¨4Ó0Ð0r   r‹   r   )rT   rU   rV   rW   rX   r�   rY   r—   r«   rž   r®   rZ   r‹   r   r   rœ   rœ   z  s\   † ñôð ñ+ó ð+ð ñ/ó ð/ð ñ6ó ð6ð ñ1ó ô1r   rœ   c                  ó4   € ] tR tRtRtRR lt]R 4       tRtR# )ÚXyChartDatai¬  zË
A specialized ChartData object suitable for use with an XY (aka. scatter)
chart. Unlike ChartData, it has no category sequence. Rather, each data
point of each series specifies both an X and a Y value.
Nc                ó@   € \        WV4      pV P                  V4       V# )z–
Return an |XySeriesData| object newly created and added at the end of
this sequence, identified by *name* and values formatted with
*number_format*.
)ÚXySeriesDatar"   ©r   rd   r   r�   s   &&& r   r    ÚXyChartData.add_series³  s"   € ô # 4¨}Ó=ˆØ�‰�KÔ ØÐr   c                ó   € \        V 4      # r±   )r   r   s   &r   r8   ÚXyChartData._workbook_writer½  s   € ô   Ó%Ð%r   r‹   r   )	rT   rU   rV   rW   rX   r    r	   r8   rZ   r‹   r   r   r'  r'  ¬  s    † ñôð ñ&ó ô&r   r'  c                  ó:   € ] tR tRtRtRR ltR t]R 4       tRt	R# )	ÚBubbleChartDataiÆ  zÇ
A specialized ChartData object suitable for use with a bubble chart.
A bubble chart is essentially an XY chart where the markers are scaled to
provide a third quantitative dimension to the exhibit.
Nc                ó@   € \        WV4      pV P                  V4       V# )z£
Return a |BubbleSeriesData| object newly created and added at the end
of this sequence, and having series named *name* and values formatted
with *number_format*.
)ÚBubbleSeriesDatar"   r*  s   &&& r   r    ÚBubbleChartData.add_seriesÍ  s"   € ô ' t°=ÓAˆØ�‰�KÔ ØÐr   c                ó8   € V P                   P                  V4      # )zW
The Excel worksheet reference for the range containing the bubble
sizes for *series*.
)r8   Úbubble_sizes_refr#   s   &&r   r4  Ú BubbleChartData.bubble_sizes_ref×  s   € ð
 ×$Ñ$×5Ñ5°fÓ=Ð=r   c                ó   € \        V 4      # r±   )r   r   s   &r   r8   Ú BubbleChartData._workbook_writerÞ  s   € ô $ DÓ)Ð)r   r‹   r   )
rT   rU   rV   rW   rX   r    r4  r	   r8   rZ   r‹   r   r   r/  r/  Æ  s%   † ñôò>ð ñ*ó ô*r   r/  c                  ó$   € ] tR tRtRtRR ltRtR# )r)  iç  aõ  
The data specific to a particular XY chart series. It provides access to
the series label, the series data points, and an optional number format
to be applied to each data point not having a specified number format.

The sequence of data points in an XY series is significant; lines are
plotted following the sequence of points, even if that causes a line
segment to "travel backward" (implying a multi-valued function). The data
points are not automatically sorted into increasing order by X value.
Nc                ó@   € \        WW#4      pV P                  V4       V# )zd
Return an XyDataPoint object newly created with values *x* and *y*,
and appended to this sequence.
)ÚXyDataPointr"   )r   r|   r†   r   rk   s   &&&& r   r�   ÚXySeriesData.add_data_pointó  s"   € ô
 ! ¨!Ó;ˆ
Ø�‰�JÔØÐr   r‹   r   )rT   rU   rV   rW   rX   r�   rZ   r‹   r   r   r)  r)  ç  s   † ñ	÷ð r   r)  c                  óD   € ] tR tRtRtRR lt]R 4       t]R 4       tRt	R# )	r1  iý  a™  
The data specific to a particular Bubble chart series. It provides access
to the series label, the series data points, and an optional number
format to be applied to each data point not having a specified number
format.

The sequence of data points in a bubble chart series is maintained
throughout the chart building process because a data point has no unique
identifier and can only be retrieved by index.
Nc                óB   € \        WW#V4      pV P                  V4       V# )zÏ
Append a new BubbleDataPoint object having the values *x*, *y*, and
*size*. The optional *number_format* is used to format the Y value.
If not provided, the number format is inherited from the series data.
)ÚBubbleDataPointr"   )r   r|   r†   Úsizer   rk   s   &&&&& r   r�   ÚBubbleSeriesData.add_data_point	  s$   € ô % T¨a°}ÓEˆ
Ø�‰�JÔØÐr   c                óV   € V P                    Uu. uF  qP                  NK  	  up# u upi )z_
A sequence containing the bubble size for each datapoint in this
series, in data point order.
)rb   Úbubble_sizer}   s   & r   Úbubble_sizesÚBubbleSeriesData.bubble_sizes  s&   € ð *.×):Ò):Ó;Ñ): 2—”Ñ):Ñ;Ð;ùÒ;r‚   c                ó8   € V P                   P                  V 4      # )zZ
The Excel worksheet reference for the range containing the bubble
sizes for this series.
)r`   r4  r   s   &r   r4  Ú!BubbleSeriesData.bubble_sizes_ref  s   € ð ×Ñ×0Ñ0°Ó6Ð6r   r‹   r   )
rT   rU   rV   rW   rX   r�   rY   rC  r4  rZ   r‹   r   r   r1  r1  ý  s4   † ñ	ôð ñ<ó ð<ð ñ7ó ô7r   r1  c                  ó<   a € ] tR tRtRtV 3R lt]R 4       tRtV ;t	# )r  i$  z�
A data point in a category chart series. Provides access to the value of
the datapoint and the number format with which it should appear in the
Excel file.
c                	ó:   <€ \         \        V `  W4       W n        R # r   )r   r  r   Ú_value)r   r�   rŸ   r   r   s   &&&&€r   r   ÚCategoryDataPoint.__init__+  s   ø€ ÜÔ Ñ/°ÔKØŽr   c                ó   € V P                   # )z-
The (Y) value for this category data point.
©rI  r   s   &r   rŸ   ÚCategoryDataPoint.value/  s   € ð
 �{‰{Ðr   rL  )
rT   rU   rV   rW   rX   r   rY   rŸ   rZ   r[   r\   s   @r   r  r  $  s!   ø† ñõð ñó ör   r  c                  óL   a € ] tR tRtRtV 3R lt]R 4       t]R 4       tRt	V ;t
# )r:  i7  z]
A data point in an XY chart series. Provides access to the x and y values
of the datapoint.
c                	óF   <€ \         \        V `  W4       W n        W0n        R # r   )r   r:  r   Ú_xÚ_y)r   r�   r|   r†   r   r   s   &&&&&€r   r   ÚXyDataPoint.__init__=  s   ø€ ÜŒk˜4Ñ)¨+ÔEØŒØŽr   c                ó   € V P                   # )z%
The X value for this XY data point.
)rP  r   s   &r   r|   ÚXyDataPoint.xB  ó   € ð
 �w‰wˆr   c                ó   € V P                   # )z%
The Y value for this XY data point.
)rQ  r   s   &r   r†   ÚXyDataPoint.yI  rU  r   )rP  rQ  )rT   rU   rV   rW   rX   r   rY   r|   r†   rZ   r[   r\   s   @r   r:  r:  7  s5   ø† ñõ
ð
 ñó ðð ñó ör   r:  c                  ó<   a € ] tR tRtRtV 3R lt]R 4       tRtV ;t	# )r>  iQ  zg
A data point in a bubble chart series. Provides access to the x, y, and
size values of the datapoint.
c                	ó<   <€ \         \        V `  WW54       W@n        R # r   )r   r>  r   Ú_size)r   r�   r|   r†   r?  r   r   s   &&&&&&€r   r   ÚBubbleDataPoint.__init__W  s   ø€ ÜŒo˜tÑ-¨k¸aÔOØŽ
r   c                ó   € V P                   # )zD
The value representing the size of the bubble for this data point.
©rZ  r   s   &r   rB  ÚBubbleDataPoint.bubble_size[  s   € ð
 �z‰zÐr   r]  )
rT   rU   rV   rW   rX   r   rY   rB  rZ   r[   r\   s   @r   r>  r>  Q  s!   ø† ñõ
ð ñó ör   r>  ) rX   Ú
__future__r   rÂ   Úcollections.abcr   Únumbersr   Úpptx.chart.xlsxr   r   r   Úpptx.chart.xmlwriterr   Ú	pptx.utilr	   r   r^   Úobjectr�   r•   r¥   r¼   r  rœ   r'  r/  r)  r1  r  r:  r>  r‹   r   r   Ú<module>rf     sí   ðÙ $å "ã Ý $Ý ÷ñ õ
 0Ý "ôl4�Xô l4ô^c3�hô c3ôL�Vô ô0T,˜ô T,ônd$�ô d$ôNq ˆvô q ôhÐ!ô ô/1˜ô /1ôd&�.ô &ô4*�kô *ôB�?ô ô,$7�|ô $7ôN˜ô ô&�.ô ô4�kö r   