o
    7 ¾hÉ6  ã                   @  s¨   d Z ddlmZ ddlmZmZ G dd„ deƒZG dd„ deƒZG dd	„ d	eƒZG d
d„ deƒZ	e	Z
G dd„ deƒZG dd„ deƒZG dd„ deƒZG dd„ deƒZdS )z0Enumerations used by charts and related objects.é    )Úannotations)ÚBaseEnumÚBaseXmlEnumc                   @  ó&   e Zd ZdZdZ	 dZ	 dZ	 dZdS )ÚXL_AXIS_CROSSESa   Specifies the point on an axis where the other axis crosses.

    Example::

        from pptx.enum.chart import XL_AXIS_CROSSES

        value_axis.crosses = XL_AXIS_CROSSES.MAXIMUM

    MS API Name: `XlAxisCrosses`

    https://msdn.microsoft.com/en-us/library/office/ff745402.aspx
    )é÷ïÿÿZautoZeroz<The axis crossing point is set automatically, often at zero.)iîïÿÿÚ z;The .crosses_at property specifies the axis crossing point.)é   Úmaxz&The axis crosses at the maximum value.)é   Úminz&The axis crosses at the minimum value.N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú	AUTOMATICÚCUSTOMZMAXIMUMZMINIMUM© r   r   úW/var/www/html/figdemos/bartoux_crm/venv/lib/python3.10/site-packages/pptx/enum/chart.pyr      ó    r   c                   @  s    e Zd ZdZdZ	 dZ	 dZdS )ÚXL_CATEGORY_TYPEaG  Specifies the type of the category axis.

    Example::

        from pptx.enum.chart import XL_CATEGORY_TYPE

        date_axis = chart.category_axis
        assert date_axis.category_type == XL_CATEGORY_TYPE.TIME_SCALE

    MS API Name: `XlCategoryType`

    https://msdn.microsoft.com/EN-US/library/office/ff746136.aspx
    )r   z'The application controls the axis type.)r	   z2Axis groups data by an arbitrary set of categories)é   z;Axis groups data on a time scale of days, months, or years.N)r   r   r   r   ZAUTOMATIC_SCALEZCATEGORY_SCALEZ
TIME_SCALEr   r   r   r   r   #   s    r   c                   @  sÄ  e Zd ZdZdZ	 dZ	 dZ	 dZ	 dZ	 dZ		 dZ
	 d	Z	 d
Z	 dZ	 dZ	 dZ	 dZ	 dZ	 dZ	 dZ	 dZ	 dZ	 dZ	 dZ	 dZ	 dZ	 dZ	 dZ	 dZ	 dZ	 dZ	 dZ	 dZ 	 dZ!	 d Z"	 d!Z#	 d"Z$	 d#Z%	 d$Z&	 d%Z'	 d&Z(	 d'Z)	 d(Z*	 d)Z+	 d*Z,	 d+Z-	 d,Z.	 d-Z/	 d.Z0	 d/Z1	 d0Z2	 d1Z3	 d2Z4	 d3Z5	 d4Z6	 d5Z7	 d6Z8	 d7Z9	 d8Z:	 d9Z;	 d:Z<	 d;Z=	 d<Z>	 d=Z?	 d>Z@	 d?ZA	 d@ZB	 dAZC	 dBZD	 dCZE	 dDZF	 dEZG	 dFZH	 dGZI	 dHZJ	 dIZK	 dJZLdKS )LÚXL_CHART_TYPEa  Specifies the type of a chart.

    Example::

        from pptx.enum.chart import XL_CHART_TYPE

        assert chart.chart_type == XL_CHART_TYPE.BAR_STACKED

    MS API Name: `XlChartType`

    http://msdn.microsoft.com/en-us/library/office/ff838409.aspx
    )iþïÿÿz3D Area.)éN   z3D Stacked Area.)éO   ú100% Stacked Area.)é<   z3D Clustered Bar.)é=   z3D Stacked Bar.)é>   z3D 100% Stacked Bar.)iüïÿÿz
3D Column.)é6   z3D Clustered Column.)é7   z3D Stacked Column.)é8   z3D 100% Stacked Column.)iûïÿÿz3D Line.)iúïÿÿz3D Pie.)éF   zExploded 3D Pie.)é   ZArea)éL   zStacked Area.)éM   r   )é9   zClustered Bar.)éG   zBar of Pie.)é:   zStacked Bar.)é;   z100% Stacked Bar.)é   zBubble.)éW   zBubble with 3D effects.)é3   zClustered Column.)é4   zStacked Column.)é5   z100% Stacked Column.)éf   zClustered Cone Bar.)ég   zStacked Cone Bar.)éh   z100% Stacked Cone Bar.)éi   z3D Cone Column.)éc   úClustered Cone Column.)éd   úStacked Cone Column.)ée   z100% Stacked Cone Column.)é_   zClustered Cylinder Bar.)é`   zStacked Cylinder Bar.)éa   z100% Stacked Cylinder Bar.)éb   z3D Cylinder Column.)é\   r4   )é]   r6   )é^   z100% Stacked Cylinder Column.)ièïÿÿz	Doughnut.)éP   zExploded Doughnut.)r   zLine.)éA   zLine with Markers.)éB   zStacked Line with Markers.)éC   z100% Stacked Line with Markers.)é?   zStacked Line.)é@   z100% Stacked Line.)é   zPie.)éE   zExploded Pie.)éD   zPie of Pie.)ém   zClustered Pyramid Bar.)én   zStacked Pyramid Bar.)éo   z100% Stacked Pyramid Bar.)ép   z3D Pyramid Column.)éj   zClustered Pyramid Column.)ék   zStacked Pyramid Column.)él   z100% Stacked Pyramid Column.)iÉïÿÿzRadar.)éR   zFilled Radar.)éQ   zRadar with Data Markers.)éX   zHigh-Low-Close.)éY   zOpen-High-Low-Close.)éZ   zVolume-High-Low-Close.)é[   zVolume-Open-High-Low-Close.)éS   z3D Surface.)éU   zSurface (Top View).)éV   zSurface (Top View wireframe).)éT   z3D Surface (wireframe).)i·ïÿÿzScatter.)éJ   zScatter with Lines.)éK   z'Scatter with Lines and No Data Markers.)éH   zScatter with Smoothed Lines.)éI   z0Scatter with Smoothed Lines and No Data Markers.N)Mr   r   r   r   ZTHREE_D_AREAZTHREE_D_AREA_STACKEDZTHREE_D_AREA_STACKED_100ZTHREE_D_BAR_CLUSTEREDZTHREE_D_BAR_STACKEDZTHREE_D_BAR_STACKED_100ZTHREE_D_COLUMNZTHREE_D_COLUMN_CLUSTEREDZTHREE_D_COLUMN_STACKEDZTHREE_D_COLUMN_STACKED_100ZTHREE_D_LINEZTHREE_D_PIEZTHREE_D_PIE_EXPLODEDZAREAZAREA_STACKEDZAREA_STACKED_100ZBAR_CLUSTEREDZ
BAR_OF_PIEZBAR_STACKEDZBAR_STACKED_100ZBUBBLEZBUBBLE_THREE_D_EFFECTZCOLUMN_CLUSTEREDZCOLUMN_STACKEDZCOLUMN_STACKED_100ZCONE_BAR_CLUSTEREDZCONE_BAR_STACKEDZCONE_BAR_STACKED_100ZCONE_COLZCONE_COL_CLUSTEREDZCONE_COL_STACKEDZCONE_COL_STACKED_100ZCYLINDER_BAR_CLUSTEREDZCYLINDER_BAR_STACKEDZCYLINDER_BAR_STACKED_100ZCYLINDER_COLZCYLINDER_COL_CLUSTEREDZCYLINDER_COL_STACKEDZCYLINDER_COL_STACKED_100ZDOUGHNUTZDOUGHNUT_EXPLODEDZLINEZLINE_MARKERSZLINE_MARKERS_STACKEDZLINE_MARKERS_STACKED_100ZLINE_STACKEDZLINE_STACKED_100ZPIEZPIE_EXPLODEDZ
PIE_OF_PIEZPYRAMID_BAR_CLUSTEREDZPYRAMID_BAR_STACKEDZPYRAMID_BAR_STACKED_100ZPYRAMID_COLZPYRAMID_COL_CLUSTEREDZPYRAMID_COL_STACKEDZPYRAMID_COL_STACKED_100ZRADARZRADAR_FILLEDZRADAR_MARKERSZ	STOCK_HLCZ
STOCK_OHLCZ
STOCK_VHLCZSTOCK_VOHLCZSURFACEZSURFACE_TOP_VIEWZSURFACE_TOP_VIEW_WIREFRAMEZSURFACE_WIREFRAMEZ
XY_SCATTERZXY_SCATTER_LINESZXY_SCATTER_LINES_NO_MARKERSZXY_SCATTER_SMOOTHZXY_SCATTER_SMOOTH_NO_MARKERSr   r   r   r   r   <   s(   r   c                   @  sJ   e Zd ZdZdZ	 dZ	 dZ	 dZ	 dZ	 dZ		 dZ
	 d	Z	 d
Z	 dZdS )ÚXL_DATA_LABEL_POSITIONaQ  Specifies where the data label is positioned.

    Example::

        from pptx.enum.chart import XL_LABEL_POSITION

        data_labels = chart.plots[0].data_labels
        data_labels.position = XL_LABEL_POSITION.OUTSIDE_END

    MS API Name: `XlDataLabelPosition`

    http://msdn.microsoft.com/en-us/library/office/ff745082.aspx
    )r   Útz2The data label is positioned above the data point.)r#   Úbz2The data label is positioned below the data point.)rE   ZbestFitz)Word sets the position of the data label.)iôïÿÿÚctrzLThe data label is centered on the data point or inside a bar or a pie slice.)r   ZinBasezFThe data label is positioned inside the data point at the bottom edge.)r   ZinEndzCThe data label is positioned inside the data point at the top edge.)éÝïÿÿÚlz;The data label is positioned to the left of the data point.)é   r   z2Data labels are in multiple positions (read-only).)r	   ZoutEndzDThe data label is positioned outside the data point at the top edge.)éÈïÿÿÚrz<The data label is positioned to the right of the data point.N)r   r   r   r   ZABOVEZBELOWZBEST_FITZCENTERZINSIDE_BASEZ
INSIDE_ENDÚLEFTZMIXEDZOUTSIDE_ENDÚRIGHTr   r   r   r   r]   &  s,    r]   c                   @  s2   e Zd ZdZdZ	 dZ	 dZ	 dZ	 dZ	 dZ	dS )	ÚXL_LEGEND_POSITIONa>  Specifies the position of the legend on a chart.

    Example::

        from pptx.enum.chart import XL_LEGEND_POSITION

        chart.has_legend = True
        chart.legend.position = XL_LEGEND_POSITION.BOTTOM

    MS API Name: `XlLegendPosition`

    http://msdn.microsoft.com/en-us/library/office/ff745840.aspx
    )iõïÿÿr_   zBelow the chart.)r	   Útrz.In the upper-right corner of the chart border.)i¿ïÿÿr   zA custom position (read-only).)ra   rb   zLeft of the chart.)rd   re   zRight of the chart.)iÀïÿÿr^   zAbove the chart.N)
r   r   r   r   ZBOTTOMZCORNERr   rf   rg   ZTOPr   r   r   r   rh   c  s    rh   c                   @  sV   e Zd ZdZdZ	 dZ	 dZ	 dZ	 dZ	 dZ		 dZ
	 d	Z	 d
Z	 dZ	 dZ	 dZdS )ÚXL_MARKER_STYLEa7  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
    )r   ÚautozAutomatic markers)é   ZcirclezCircular markers)iíïÿÿZdashzLong bar markers)r	   ZdiamondzDiamond-shaped markers)iêïÿÿÚdotzShort bar markers)éÒïÿÿÚnonez
No markers)iÍïÿÿZpicturezPicture markers)é	   ÚpluszSquare markers with a plus sign)r#   ÚsquarezSquare markers)rE   Zstarz Square markers with an  asterisk)r   ZtrianglezTriangular markers)i¸ïÿÿÚxzSquare markers with an XN)r   r   r   r   r   ZCIRCLEZDASHZDIAMONDÚDOTÚNONEZPICTUREÚPLUSÚSQUAREÚSTARZTRIANGLEÚXr   r   r   r   rj   …  s4    rj   c                   @  r   )ÚXL_TICK_MARKa  Specifies a type of axis tick for a chart.

    Example::

        from pptx.enum.chart import XL_TICK_MARK

        chart.value_axis.minor_tick_mark = XL_TICK_MARK.INSIDE

    MS API Name: `XlTickMark`

    http://msdn.microsoft.com/en-us/library/office/ff193878.aspx
    )r   ÚcrosszTick mark crosses the axis)r	   Úinz!Tick mark appears inside the axis)rn   ro   zNo tick mark)r   Úoutz"Tick mark appears outside the axisN)r   r   r   r   ÚCROSSZINSIDEru   ZOUTSIDEr   r   r   r   rz   ¸  r   rz   c                   @  r   )ÚXL_TICK_LABEL_POSITIONai  Specifies the position of tick-mark labels on a chart axis.

    Example::

        from pptx.enum.chart import XL_TICK_LABEL_POSITION

        category_axis = chart.category_axis
        category_axis.tick_label_position = XL_TICK_LABEL_POSITION.LOW

    MS API Name: `XlTickLabelPosition`

    http://msdn.microsoft.com/en-us/library/office/ff822561.aspx
    )iáïÿÿÚhighzTop or right side of the chart.)iÚïÿÿÚlowz!Bottom or left side of the chart.)r   ZnextToz=Next to axis (where axis is not at either side of the chart).)rn   ro   zNo tick labels.N)r   r   r   r   ÚHIGHÚLOWZNEXT_TO_AXISru   r   r   r   r   r   Ó  s    r   N)r   Ú
__future__r   Zpptx.enum.baser   r   r   r   r   r]   ZXL_LABEL_POSITIONrh   rj   rz   r   r   r   r   r   Ú<module>   s     k:"3