
    6Dh}"                     .    S SK Jr  S SKr " S S\5      rg)    )BaseTraceHierarchyTypeNc                   4  ^  \ rS rSrSrSr1 Skr\S 5       r\R                  S 5       r\S 5       r
\
R                  S 5       r
\S	 5       r\R                  S
 5       r\S 5       r\R                  S 5       r\S 5       r\R                  S 5       r\S 5       r\R                  S 5       r\S 5       r\R                  S 5       r\S 5       r\R                  S 5       r\S 5       r\R                  S 5       r\S 5       r          SU 4S jjrSrU =r$ )Delta   	indicatorzindicator.delta>	   fontprefixsuffixpositionrelative	reference
decreasing
increasingvalueformatc                     U S   $ )a5  
The 'decreasing' property is an instance of Decreasing
that may be specified as:
  - An instance of :class:`plotly.graph_objs.indicator.delta.Decreasing`
  - A dict of string/value properties that will be passed
    to the Decreasing constructor

Returns
-------
plotly.graph_objs.indicator.delta.Decreasing
r    selfs    T/var/www/html/env/lib/python3.13/site-packages/plotly/graph_objs/indicator/_delta.pyr   Delta.decreasing        L!!    c                     XS'   g )Nr   r   r   vals     r   r   r   '   
     \r   c                     U S   $ )a?  
Set the font used to display the delta

The 'font' property is an instance of Font
that may be specified as:
  - An instance of :class:`plotly.graph_objs.indicator.delta.Font`
  - A dict of string/value properties that will be passed
    to the Font constructor

Returns
-------
plotly.graph_objs.indicator.delta.Font
r   r   r   s    r   r   
Delta.font+   s     F|r   c                     XS'   g )Nr   r   r   s     r   r   r   <   s	    Vr   c                     U S   $ )a5  
The 'increasing' property is an instance of Increasing
that may be specified as:
  - An instance of :class:`plotly.graph_objs.indicator.delta.Increasing`
  - A dict of string/value properties that will be passed
    to the Increasing constructor

Returns
-------
plotly.graph_objs.indicator.delta.Increasing
r   r   r   s    r   r   Delta.increasing@   r   r   c                     XS'   g )Nr   r   r   s     r   r   r!   O   r   r   c                     U S   $ )z
Sets the position of delta with respect to the number.

The 'position' property is an enumeration that may be specified as:
  - One of the following enumeration values:
        ['top', 'bottom', 'left', 'right']

Returns
-------
Any
r   r   r   s    r   r   Delta.positionS   s     Jr   c                     XS'   g )Nr   r   r   s     r   r   r$   b   
    Zr   c                     U S   $ )z
Sets a prefix appearing before the delta.

The 'prefix' property is a string and must be specified as:
  - A string
  - A number that will be converted to a string

Returns
-------
str
r	   r   r   s    r   r	   Delta.prefixf        H~r   c                     XS'   g )Nr	   r   r   s     r   r	   r(   u   	    Xr   c                     U S   $ )z
Sets the reference value to compute the delta. By default, it
is set to the current value.

The 'reference' property is a number and may be specified as:
  - An int or float

Returns
-------
int|float
r   r   r   s    r   r   Delta.referencey   s     K  r   c                     XS'   g )Nr   r   r   s     r   r   r-      s
    [r   c                     U S   $ )zy
Show relative change

The 'relative' property must be specified as a bool
(either True, or False)

Returns
-------
bool
r   r   r   s    r   r   Delta.relative   s     Jr   c                     XS'   g )Nr   r   r   s     r   r   r0      r&   r   c                     U S   $ )z
Sets a suffix appearing next to the delta.

The 'suffix' property is a string and must be specified as:
  - A string
  - A number that will be converted to a string

Returns
-------
str
r
   r   r   s    r   r
   Delta.suffix   r)   r   c                     XS'   g )Nr
   r   r   s     r   r
   r3      r+   r   c                     U S   $ )aL  
Sets the value formatting rule using d3 formatting mini-
languages which are very similar to those in Python. For
numbers, see:
https://github.com/d3/d3-format/tree/v1.4.5#d3-format.

The 'valueformat' property is a string and must be specified as:
  - A string
  - A number that will be converted to a string

Returns
-------
str
r   r   r   s    r   r   Delta.valueformat   s      M""r   c                     XS'   g )Nr   r   r   s     r   r   r6      s
    !]r   c                     g)Na          decreasing
            :class:`plotly.graph_objects.indicator.delta.Decreasing
            ` instance or dict with compatible properties
        font
            Set the font used to display the delta
        increasing
            :class:`plotly.graph_objects.indicator.delta.Increasing
            ` instance or dict with compatible properties
        position
            Sets the position of delta with respect to the number.
        prefix
            Sets a prefix appearing before the delta.
        reference
            Sets the reference value to compute the delta. By
            default, it is set to the current value.
        relative
            Show relative change
        suffix
            Sets a suffix appearing next to the delta.
        valueformat
            Sets the value formatting rule using d3 formatting
            mini-languages which are very similar to those in
            Python. For numbers, see:
            https://github.com/d3/d3-format/tree/v1.4.5#d3-format.
        r   r   s    r   _prop_descriptionsDelta._prop_descriptions   s    r   c           	        > [         TU ]  S5        SU;   a  US   U l        gUc  0 nOb[        XR                  5      (       a  UR                  5       nO7[        U[        5      (       a  [        R                  " U5      nO[        S5      eUR                  SS5      U l        UR                  SS5      U l        U R                  S	X5        U R                  S
X5        U R                  SX5        U R                  SX5        U R                  SX5        U R                  SX5        U R                  SX5        U R                  SX5        U R                  SX5        U R                  " S0 [        U40 UD6D6  SU l        g)a  
Construct a new Delta object

Parameters
----------
arg
    dict of properties compatible with this constructor or
    an instance of
    :class:`plotly.graph_objs.indicator.Delta`
decreasing
    :class:`plotly.graph_objects.indicator.delta.Decreasing
    ` instance or dict with compatible properties
font
    Set the font used to display the delta
increasing
    :class:`plotly.graph_objects.indicator.delta.Increasing
    ` instance or dict with compatible properties
position
    Sets the position of delta with respect to the number.
prefix
    Sets a prefix appearing before the delta.
reference
    Sets the reference value to compute the delta. By
    default, it is set to the current value.
relative
    Show relative change
suffix
    Sets a suffix appearing next to the delta.
valueformat
    Sets the value formatting rule using d3 formatting
    mini-languages which are very similar to those in
    Python. For numbers, see:
    https://github.com/d3/d3-format/tree/v1.4.5#d3-format.

Returns
-------
Delta
delta_parentNzThe first argument to the plotly.graph_objs.indicator.Delta
constructor must be a dict or
an instance of :class:`plotly.graph_objs.indicator.Delta`skip_invalidF	_validateTr   r   r   r   r	   r   r   r
   r   r   )super__init__r=   
isinstance	__class__to_plotly_jsondict_copycopy
ValueErrorpop_skip_invalidr?   _set_property_process_kwargs)r   argr   r   r   r   r	   r   r   r
   r   kwargsrC   s               r   rA   Delta.__init__   sW   h 	!!),DL;C^^,,$$&CT""**S/C=  $ZZ>K6<963-<9:s58S1;7:s58S1=#;3tC2623"r   )r=   rJ   r?   )
NNNNNNNNNN)__name__
__module____qualname____firstlineno___parent_path_str	_path_str_valid_propspropertyr   setterr   r   r   r	   r   r   r
   r   r9   rA   __static_attributes____classcell__)rC   s   @r   r   r      s   "!I
L " " ! !    
[[  " " ! !     __    ]]  ! !         __    ]]  # #" " "  < T# T#r   r   )plotly.basedatatypesr   _BaseTraceHierarchyTyperG   rF   r   r   r   r   <module>r]      s    S p## p#r   