
    g\                     .    d dl mZ d dlZ G d de      Zy)    )BaseTraceHierarchyTypeNc                        e Zd ZdZdZddhZed        Zej                  d        Zed        Z	e	j                  d        Z	ed	        Z
d fd
	Z xZS )Lineohlcz	ohlc.linedashwidthc                     | d   S )a  
        Sets the dash style of lines. Set to a dash type string
        ("solid", "dot", "dash", "longdash", "dashdot", or
        "longdashdot") or a dash length list in px (eg
        "5px,10px,2px,2px"). Note that this style setting can also be
        set per direction via `increasing.line.dash` and
        `decreasing.line.dash`.

        The 'dash' property is an enumeration that may be specified as:
          - One of the following dash styles:
                ['solid', 'dot', 'dash', 'longdash', 'dashdot', 'longdashdot']
          - A string containing a dash length list in pixels or percentages
                (e.g. '5px 10px 2px 2px', '5, 10, 2, 2', '10% 20% 40%', etc.)

        Returns
        -------
        str
        r    selfs    Y/var/www/dash_apps/app1/venv/lib/python3.12/site-packages/plotly/graph_objs/ohlc/_line.pyr   z	Line.dash   s    ( F|    c                     || d<   y )Nr   r
   r   vals     r   r   z	Line.dash%   s    Vr   c                     | d   S )aP  
        [object Object] Note that this style setting can also be set
        per direction via `increasing.line.width` and
        `decreasing.line.width`.

        The 'width' property is a number and may be specified as:
          - An int or float in the interval [0, inf]

        Returns
        -------
        int|float
        r   r
   r   s    r   r   z
Line.width+   s     G}r   c                     || d<   y )Nr   r
   r   s     r   r   z
Line.width;   s    Wr   c                      y)Na4          dash
            Sets the dash style of lines. Set to a dash type string
            ("solid", "dot", "dash", "longdash", "dashdot", or
            "longdashdot") or a dash length list in px (eg
            "5px,10px,2px,2px"). Note that this style setting can
            also be set per direction via `increasing.line.dash`
            and `decreasing.line.dash`.
        width
            [object Object] Note that this style setting can also
            be set per direction via `increasing.line.width` and
            `decreasing.line.width`.
        r
   r   s    r   _prop_descriptionszLine._prop_descriptionsA   s    r   c           	      "   t         t        |   d       d|v r|d   | _        y|i }nXt	        || j
                        r|j                         }n1t	        |t              rt        j                  |      }nt        d      |j                  dd      | _        |j                  dd      | _        |j                  d	d      }||n|}||| d	<   |j                  d
d      }||n|}||| d
<    | j                  di t        |fi | d| _        y)a=  
        Construct a new Line object

        Parameters
        ----------
        arg
            dict of properties compatible with this constructor or
            an instance of :class:`plotly.graph_objs.ohlc.Line`
        dash
            Sets the dash style of lines. Set to a dash type string
            ("solid", "dot", "dash", "longdash", "dashdot", or
            "longdashdot") or a dash length list in px (eg
            "5px,10px,2px,2px"). Note that this style setting can
            also be set per direction via `increasing.line.dash`
            and `decreasing.line.dash`.
        width
            [object Object] Note that this style setting can also
            be set per direction via `increasing.line.width` and
            `decreasing.line.width`.

        Returns
        -------
        Line
        line_parentNzThe first argument to the plotly.graph_objs.ohlc.Line
constructor must be a dict or
an instance of :class:`plotly.graph_objs.ohlc.Line`skip_invalidF	_validateTr   r   r
   )superr   __init__r   
isinstance	__class__to_plotly_jsondict_copycopy
ValueErrorpop_skip_invalidr   _process_kwargs)r   argr   r   kwargs_vr   s         r   r   zLine.__init__Q   s"   2 	dD"6*!),DL ;CT^^,$$&CT"**S/C7  $ZZ>K6 WWVT"%T2>DLWWWd#'UR>DM 	3tC2623 #r   )NNN)__name__
__module____qualname___parent_path_str	_path_str_valid_propspropertyr   setterr   r   r   __classcell__)r   s   @r   r   r      s     IG$L  * 
[[ 
   \\ 
  E# E#r   r   )plotly.basedatatypesr   _BaseTraceHierarchyTyper"   r!   r   r
   r   r   <module>r5      s    R Q#" Q#r   