[docs]defset_fill_color(self,color:str):"""Sets the fill color for the Donchian Channels. Args: color (str): The color to use for filling the channel area. """self.instance.send(self.id,'setFillColor',{'color':color})returnself
[docs]defset_fill_enabled(self,fill_enabled:bool):"""Enables or disables the fill inside the Donchian Channels. Args: fill_enabled (bool): If True, the area between the lines will be filled with color. """self.instance.send(self.id,'setFillEnabled',{'fillEnabled':fill_enabled})returnself
[docs]defset_line_width(self,width:int|float):"""Sets the width of the Donchian Channels' lines. Args: width (int | float): The width of the lines (can be an integer or float value). """self.instance.send(self.id,'setLineWidth',{'width':width})returnself
[docs]defset_lower_line_color(self,color:str):"""Sets the color of the lower line in the Donchian Channels. Args: color (str): The color to use for the lower line. """self.instance.send(self.id,'setLowerLineColor',{'color':color})returnself
[docs]defset_mid_line_color(self,color:str):"""Sets the color of the middle line in the Donchian Channels. Args: color (str): The color to use for the middle line. """self.instance.send(self.id,'setMidLineColor',{'color':color})returnself
[docs]defset_upper_line_color(self,color:str):"""Sets the color of the upper line in the Donchian Channels. Args: color (str): The color to use for the upper line. """self.instance.send(self.id,'setUpperLineColor',{'color':color})returnself