> ## Documentation Index
> Fetch the complete documentation index at: https://takeprofit.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Package indie.plot

export const Anchor = ({id}) => {
  return <div id={id} style={{
    scrollMarginTop: "var(--scroll-mt)"
  }}></div>;
};

export const Field = ({id, name, type, required, defaultVal, children}) => {
  return <div id={id} style={{
    scrollMarginTop: "var(--scroll-mt)"
  }} className="mt-4">
      <div className="pt-2.5 pb-5 my-2.5 border-gray-50 dark:border-gray-800/50 border-b">
        <div className="flex font-mono text-sm group/param-head param-head">
          <div className="flex-1 flex content-start py-0.5 mr-5">
            <div className="flex items-center flex-wrap gap-2">
              {id && <div className="absolute">
                  <a href={`#${id}`} className="-ml-10 flex items-center opacity-0 border-0 group-hover/param-head:opacity-100 py-2" aria-label={`Navigate to ${id}`}>
                    <div className="w-6 h-6 text-gray-400 rounded-md flex items-center justify-center zinc-box bg-white ring-1 ring-gray-400/30 dark:ring-gray-700/25 hover:ring-gray-400/60 dark:hover:ring-white/20">
                      <svg xmlns="http://www.w3.org/2000/svg" fill="gray" height="12px" viewBox="0 0 576 512">
                        <path d="M0 256C0 167.6 71.6 96 160 96h72c13.3 0 24 10.7 24 24s-10.7 24-24 24H160C98.1 144 48 194.1 48 256s50.1 112 112 112h72c13.3 0 24 10.7 24 24s-10.7 24-24 24H160C71.6 416 0 344.4 0 256zm576 0c0 88.4-71.6 160-160 160H344c-13.3 0-24-10.7-24-24s10.7-24 24-24h72c61.9 0 112-50.1 112-112s-50.1-112-112-112H344c-13.3 0-24-10.7-24-24s10.7-24 24-24h72c88.4 0 160 71.6 160 160zM184 232H392c13.3 0 24 10.7 24 24s-10.7 24-24 24H184c-13.3 0-24-10.7-24-24s10.7-24 24-24z"></path>
                      </svg>
                    </div>
                  </a>
                </div>}
              <div className="font-semibold text-primary dark:text-primary-light">
                {name}
              </div>
              <div className="flex items-center space-x-2 text-xs font-medium">
                <div className="flex items-center px-2 py-0.5 rounded-md bg-gray-100/50 dark:bg-white/5 text-gray-600 dark:text-gray-200 font-medium">
                  {type}
                </div>
                {required && <span className="px-2 py-0.5 rounded-md bg-red-100/50 dark:bg-red-400/10 text-red-600 dark:text-red-300 font-medium">
                    required
                  </span>}
                {defaultVal && <div className="flex items-center px-2 py-0.5 rounded-md bg-gray-100/50 dark:bg-white/5 text-gray-600 dark:text-gray-200 font-medium">
                    <span class="text-gray-400 dark:text-gray-500">default:</span>
                    {defaultVal}
                  </div>}
              </div>
            </div>
          </div>
        </div>
        <div className="mt-4 prose-sm prose-gray dark:prose-invert">
          {children}
        </div>
      </div>
    </div>;
};

Package for plotting series-like data.

***

## Decorators

<Anchor id="decor_background" />

### `@background()`

*decorator*

<Steps>
  <Step title="Overloads" icon="pencil">
    <Field name="@background" type="(title, color, outline_color, outline_style, outline_width) -> None">
      Declares attributes of a background plot of an indicator. Can be applied only to the `Main` entry point of the indicator. When applied, it must match with the result of the `Main` indicator entry point.

      <Expandable title="parameters info">
        <Field name="title" type="indie.Optional[str]" defaultVal="None">
          Human readable title which is visible in the indicator's Settings panel.
        </Field>

        <Field name="color" type="indie.Optional[indie.Color]" defaultVal="None">
          Color of the plot.
        </Field>

        <Field name="outline_color" type="indie.Optional[indie.Color]" defaultVal="None">
          Color of the outline.
        </Field>

        <Field name="outline_style" type="indie.Optional[indie.line_style]" defaultVal="None">
          Style of the outline. It is represented as enum value of type `line_style`.
        </Field>

        <Field name="outline_width" type="indie.Optional[int]" defaultVal="None">
          Width of the outline.
        </Field>
      </Expandable>

      ```py Example theme={null}
      @plot.background()
      def Main(self):
          return plot.Background(color=color.YELLOW)
      ```

      <Info>See also: [`Background`](/indie/Library-reference/package-indie-plot#class_Background)</Info>
    </Field>
  </Step>
</Steps>

***

<Anchor id="decor_bar_color" />

### `@bar_color()`

*decorator*

<Steps>
  <Step title="Overloads" icon="pencil">
    <Field name="@bar_color" type="(title, color, display_options) -> None">
      Declares attributes of a bar color plot of an indicator. Can be applied only to the `Main` entry point of the indicator. When applied, it must match with the result of the `Main` indicator entry point.

      <Expandable title="parameters info">
        <Field name="title" type="indie.Optional[str]" defaultVal="None">
          Human readable title which is visible in the indicator's Settings panel.
        </Field>

        <Field name="color" type="indie.Optional[indie.Color]" defaultVal="None">
          Color of the plot.
        </Field>

        <Field name="display_options" type="indie.plot.BarColorDisplayOptions" defaultVal="indie.plot.BarColorDisplayOptions(pane=True)">
          Determines the ways to display plot data.
        </Field>
      </Expandable>

      ```py Example theme={null}
      @plot.bar_color()
      def Main(self):
          return plot.BarColor(color=color.YELLOW)
      ```

      <Info>See also: [`BarColor`](/indie/Library-reference/package-indie-plot#class_BarColor)</Info>
    </Field>
  </Step>
</Steps>

***

<Anchor id="decor_columns" />

### `@columns()`

*decorator*

<Steps>
  <Step title="Overloads" icon="pencil">
    <Field name="@columns" type="(id, title, color, base_value, rel_width, display_options) -> None">
      Declares attributes of a columns plot of an indicator. Can be applied only to the `Main` entry point of the indicator. When applied, it must match with the result of the `Main` indicator entry point.

      <Expandable title="parameters info">
        <Field name="id" type="indie.Optional[str]" defaultVal="None">
          A unique identifier of plot, reserved for internal use.
        </Field>

        <Field name="title" type="indie.Optional[str]" defaultVal="None">
          Human readable title which is visible in the indicator's Settings panel.
        </Field>

        <Field name="color" type="indie.Optional[indie.Color]" defaultVal="None">
          Color of the plot.
        </Field>

        <Field name="base_value" type="float" defaultVal="0.0">
          Base level from which to start plot.
        </Field>

        <Field name="rel_width" type="float" defaultVal="0.8">
          Relative width.
        </Field>

        <Field name="display_options" type="indie.plot.ColumnsDisplayOptions" defaultVal="indie.plot.ColumnsDisplayOptions(pane=True, status_line=True, price_label=True)">
          Determines the ways to display plot data.
        </Field>
      </Expandable>

      ```py Example theme={null}
      @plot.line()
      @plot.columns(line_width=2)
      @plot.columns(color=color.YELLOW)
      # @plot.line() - for the fourth plot can be omitted
      def Main(self):
          return self.open[0], self.high[0], self.low[0], self.close[0]
      ```

      <Info>See also: [`Columns`](/indie/Library-reference/package-indie-plot#class_Columns)</Info>
    </Field>
  </Step>
</Steps>

***

<Anchor id="decor_fill" />

### `@fill()`

*decorator*

<Steps>
  <Step title="Overloads" icon="pencil">
    <Field name="@fill" type="(id1, id2, id, title, color) -> None">
      Declares attributes of a fill plot of an indicator. Can be applied only to the `Main` entry point of the indicator. When applied, it must match with the result of the `Main` indicator entry point.

      <Expandable title="parameters info">
        <Field name="id1" type="str" required>
          Identifier of the first plot to which the fill is applied.
        </Field>

        <Field name="id2" type="str" required>
          Identifier of the second plot to which the fill is applied.
        </Field>

        <Field name="id" type="indie.Optional[str]" defaultVal="None">
          A unique identifier of plot, reserved for internal use.
        </Field>

        <Field name="title" type="indie.Optional[str]" defaultVal="None">
          Human readable title which is visible in the indicator's Settings panel.
        </Field>

        <Field name="color" type="indie.Optional[indie.Color]" defaultVal="None">
          Color of the plot.
        </Field>
      </Expandable>

      ```py Example theme={null}
      @plot.line('plot1')
      @plot.line('plot2')
      @plot.fill('plot1', 'plot2')
      def Main(self):
          return self.open[0], self.high[0], plot.Fill()
      ```

      <Info>See also: [`Fill`](/indie/Library-reference/package-indie-plot#class_Fill)</Info>
    </Field>
  </Step>
</Steps>

***

<Anchor id="decor_histogram" />

### `@histogram()`

*decorator*

<Steps>
  <Step title="Overloads" icon="pencil">
    <Field name="@histogram" type="(id, title, color, line_width, base_value, display_options) -> None">
      Declares attributes of a histogram plot of an indicator. Can be applied only to the `Main` entry point of the indicator. When applied, it must match with the result of the `Main` indicator entry point.

      <Expandable title="parameters info">
        <Field name="id" type="indie.Optional[str]" defaultVal="None">
          A unique identifier of plot, reserved for internal use.
        </Field>

        <Field name="title" type="indie.Optional[str]" defaultVal="None">
          Human readable title which is visible in the indicator's Settings panel.
        </Field>

        <Field name="color" type="indie.Optional[indie.Color]" defaultVal="None">
          Color of the plot.
        </Field>

        <Field name="line_width" type="int" defaultVal="1">
          Width of the line.
        </Field>

        <Field name="base_value" type="float" defaultVal="0.0">
          Base level from which to start plot.
        </Field>

        <Field name="display_options" type="indie.plot.HistogramDisplayOptions" defaultVal="indie.plot.HistogramDisplayOptions(pane=True, status_line=True, price_label=True)">
          Determines the ways to display plot data.
        </Field>
      </Expandable>

      ```py Example theme={null}
      @plot.line()
      @plot.histogram(line_width=2)
      @plot.histogram(color=color.YELLOW)
      # @plot.line() - for the fourth plot can be omitted
      def Main(self):
          return self.open[0], self.high[0], self.low[0], self.close[0]
      ```

      <Info>See also: [`Histogram`](/indie/Library-reference/package-indie-plot#class_Histogram)</Info>
    </Field>
  </Step>
</Steps>

***

<Anchor id="decor_line" />

### `@line()`

*decorator*

<Steps>
  <Step title="Overloads" icon="pencil">
    <Field name="@line" type="(id, title, color, line_style, line_width, continuous, display_options) -> None">
      Declares attributes of a line plot of an indicator. Can be applied only to the `Main` entry point of the indicator. It is optional, so may be omitted in some simple use cases and plot will be rendered using defaults. When applied, it must match with the result of the `Main` indicator entry point.

      <Expandable title="parameters info">
        <Field name="id" type="indie.Optional[str]" defaultVal="None">
          A unique identifier of plot which is used in cases when a `@plot.fill()` should be applied between some of the two plots of an indicator.
        </Field>

        <Field name="title" type="indie.Optional[str]" defaultVal="None">
          Human readable title which is visible in the indicator's Settings panel.
        </Field>

        <Field name="color" type="indie.Optional[indie.Color]" defaultVal="None">
          Color of the plot on a chart. This color can be overwritten if the plot is a multicolored one. Example of an indicator with a multicolored plot is *Awesome Oscillator (AO)*.
        </Field>

        <Field name="line_style" type="indie.line_style" defaultVal="indie.line_style.SOLID">
          Style of the line. It is represented as enum value of type `line_style`.
        </Field>

        <Field name="line_width" type="int" defaultVal="1">
          Width of the line.
        </Field>

        <Field name="continuous" type="bool" defaultVal="False">
          Whether the plot should be continuous when the indicator has `NaN` values.
        </Field>

        <Field name="display_options" type="indie.plot.LineDisplayOptions" defaultVal="indie.plot.LineDisplayOptions(pane=True, status_line=True, price_label=True)">
          Determines the ways to display plot data.
        </Field>
      </Expandable>

      ```py Example theme={null}
      @plot.line()
      @plot.line(line_width=2)
      @plot.line(color=color.YELLOW)
      # @plot.line() - for the fourth plot can be omitted
      def Main(self):
          return self.open[0], self.high[0], self.low[0], self.close[0]
      ```

      <Info>See also: [`Line`](/indie/Library-reference/package-indie-plot#class_Line)</Info>
    </Field>
  </Step>
</Steps>

***

<Anchor id="decor_marker" />

### `@marker()`

*decorator*

<Steps>
  <Step title="Overloads" icon="pencil">
    <Field name="@marker" type="(title, color, text, style, position, size, display_options) -> None">
      Declares attributes of a marker plot of an indicator. Can be applied only to the `Main` entry point of the indicator. When applied, it must match with the result of the `Main` indicator entry point.

      <Expandable title="parameters info">
        <Field name="title" type="indie.Optional[str]" defaultVal="None">
          Human readable title which is visible in the indicator's Settings panel.
        </Field>

        <Field name="color" type="indie.Optional[indie.Color]" defaultVal="None">
          Color of the plot.
        </Field>

        <Field name="text" type="indie.Optional[str]" defaultVal="None">
          Default value for the text label of markers.
        </Field>

        <Field name="style" type="indie.plot.marker_style" defaultVal="indie.plot.marker_style.CIRCLE">
          Determines how the plot data is rendered. It is represented as enum value of type `marker_style`.
        </Field>

        <Field name="position" type="indie.plot.marker_position" defaultVal="indie.plot.marker_position.ABOVE">
          Determines how the data and text are rendered.
        </Field>

        <Field name="size" type="int" defaultVal="4">
          Size of markers.
        </Field>

        <Field name="display_options" type="indie.plot.MarkerDisplayOptions" defaultVal="indie.plot.MarkerDisplayOptions(pane=True, status_line=True, price_label=True)">
          Determines the ways to display plot data.
        </Field>
      </Expandable>

      ```py Example theme={null}
      @plot.line()
      @plot.marker(line_width=2)
      @plot.marker(color=color.YELLOW)
      # @plot.line() - for the fourth plot can be omitted
      def Main(self):
          return self.open[0], self.high[0], self.low[0], self.close[0]
      ```

      <Info>See also: [`Marker`](/indie/Library-reference/package-indie-plot#class_Marker)</Info>
    </Field>
  </Step>
</Steps>

***

<Anchor id="decor_steps" />

### `@steps()`

*decorator*

<Steps>
  <Step title="Overloads" icon="pencil">
    <Field name="@steps" type="(id, title, color, line_width, display_options) -> None">
      Declares attributes of a steps plot of an indicator. Can be applied only to the `Main` entry point of the indicator. When applied, it must match with the result of the `Main` indicator entry point.

      <Expandable title="parameters info">
        <Field name="id" type="indie.Optional[str]" defaultVal="None">
          A unique identifier of plot, reserved for internal use.
        </Field>

        <Field name="title" type="indie.Optional[str]" defaultVal="None">
          Human readable title which is visible in the indicator's Settings panel.
        </Field>

        <Field name="color" type="indie.Optional[indie.Color]" defaultVal="None">
          Color of the plot.
        </Field>

        <Field name="line_width" type="int" defaultVal="1">
          Width of the line.
        </Field>

        <Field name="display_options" type="indie.plot.StepsDisplayOptions" defaultVal="indie.plot.StepsDisplayOptions(pane=True, status_line=True, price_label=True)">
          Determines the ways to display plot data.
        </Field>
      </Expandable>

      ```py Example theme={null}
      @plot.line()
      @plot.steps(line_width=2)
      @plot.steps(color=color.YELLOW)
      # @plot.line() - for the fourth plot can be omitted
      def Main(self):
          return self.open[0], self.high[0], self.low[0], self.close[0]
      ```

      <Info>See also: [`Steps`](/indie/Library-reference/package-indie-plot#class_Steps)</Info>
    </Field>
  </Step>
</Steps>

***

## Types

<Anchor id="class_Background" />

### `Background`

*type*

Class which objects represent an element of background plot.

<Steps>
  <Step title="Fields" icon="key">
    <Field id="field_Background_color" name="color" type="indie.Optional[indie.Color]">
      Color of the plot element.
    </Field>

    <Field id="field_Background_outline_left" name="outline_left" type="bool">
      Whether to draw left outline.
    </Field>

    <Field id="field_Background_outline_right" name="outline_right" type="bool">
      Whether to draw right outline.
    </Field>

    <Field id="field_Background_offset" name="offset" type="int">
      Offset of the plot element.
    </Field>
  </Step>

  <Step title="Methods" icon="function">
    <Field id="method_Background_init" name="__init__" type="(color, outline_left, outline_right, offset) -> None">
      Class constructor (initializer for the data type).

      <Expandable title="parameters info">
        <Field name="color" type="indie.Optional[indie.Color]" defaultVal="None">
          Color of the plot element.
        </Field>

        <Field name="outline_left" type="bool" defaultVal="False">
          Whether to draw an outline on the left.
        </Field>

        <Field name="outline_right" type="bool" defaultVal="False">
          Whether to draw an outline on the right.
        </Field>

        <Field name="offset" type="int" defaultVal="0">
          Offset of the plot element.
        </Field>
      </Expandable>
    </Field>
  </Step>
</Steps>

<Info>See also: [`@background()`](/indie/Library-reference/package-indie-plot#decor_background)</Info>

***

<Anchor id="class_BackgroundDisplayOptions" />

### `BackgroundDisplayOptions`

*type*

Class with options that control how to display plot data on a chart.

<Steps>
  <Step title="Methods" icon="function">
    <Field id="method_BackgroundDisplayOptions_init" name="__init__" type="(*, pane) -> None">
      Class constructor (initializer for the data type).

      <Expandable title="parameters info">
        <Field name="pane" type="bool" defaultVal="False">
          Whether or not to draw (by default) the plot on the pane.
        </Field>
      </Expandable>
    </Field>
  </Step>
</Steps>

***

<Anchor id="class_BarColor" />

### `BarColor`

*type*

Class which objects represent an element of bar color plot.

<Steps>
  <Step title="Fields" icon="key">
    <Field id="field_BarColor_color" name="color" type="indie.Optional[indie.Color]">
      Color of the plot element.
    </Field>

    <Field id="field_BarColor_offset" name="offset" type="int">
      Offset of the plot element.
    </Field>
  </Step>

  <Step title="Methods" icon="function">
    <Field id="method_BarColor_init" name="__init__" type="(color, offset) -> None">
      Class constructor (initializer for the data type).

      <Expandable title="parameters info">
        <Field name="color" type="indie.Optional[indie.Color]" defaultVal="None">
          Color of the plot element.
        </Field>

        <Field name="offset" type="int" defaultVal="0">
          Offset of the plot element.
        </Field>
      </Expandable>
    </Field>
  </Step>
</Steps>

<Info>See also: [`@bar_color()`](/indie/Library-reference/package-indie-plot#decor_bar_color)</Info>

***

<Anchor id="class_BarColorDisplayOptions" />

### `BarColorDisplayOptions`

*type*

Class with options that control how to display plot data on a chart.

<Steps>
  <Step title="Methods" icon="function">
    <Field id="method_BarColorDisplayOptions_init" name="__init__" type="(*, pane) -> None">
      Class constructor (initializer for the data type).

      <Expandable title="parameters info">
        <Field name="pane" type="bool" defaultVal="False">
          Whether or not to draw (by default) the plot on the pane.
        </Field>
      </Expandable>
    </Field>
  </Step>
</Steps>

***

<Anchor id="class_Columns" />

### `Columns`

*type*

Class which objects represent an element of columns plot.

<Steps>
  <Step title="Fields" icon="key">
    <Field id="field_Columns_value" name="value" type="float">
      Value of the plot element.
    </Field>

    <Field id="field_Columns_color" name="color" type="indie.Optional[indie.Color]">
      Color of the plot element.
    </Field>

    <Field id="field_Columns_offset" name="offset" type="int">
      Offset of the plot element.
    </Field>
  </Step>

  <Step title="Methods" icon="function">
    <Field id="method_Columns_init" name="__init__" type="(value, color, offset) -> None">
      Class constructor (initializer for the data type).

      <Expandable title="parameters info">
        <Field name="value" type="float" required>
          Value of the plot element.
        </Field>

        <Field name="color" type="indie.Optional[indie.Color]" defaultVal="None">
          Color of the plot element.
        </Field>

        <Field name="offset" type="int" defaultVal="0">
          Offset of the plot element.
        </Field>
      </Expandable>
    </Field>
  </Step>
</Steps>

<Info>See also: [`@columns()`](/indie/Library-reference/package-indie-plot#decor_columns)</Info>

***

<Anchor id="class_ColumnsDisplayOptions" />

### `ColumnsDisplayOptions`

*type*

Class with options that control how to display plot data on a chart.

<Steps>
  <Step title="Methods" icon="function">
    <Field id="method_ColumnsDisplayOptions_init" name="__init__" type="(*, pane, status_line, price_label) -> None">
      Class constructor (initializer for the data type).

      <Expandable title="parameters info">
        <Field name="pane" type="bool" defaultVal="False">
          Whether or not to draw (by default) the plot on the pane.
        </Field>

        <Field name="status_line" type="bool" defaultVal="False">
          Whether or not to show the value of the plot in the status line.
        </Field>

        <Field name="price_label" type="bool" defaultVal="False">
          Whether or not to show the value label of the plot on the price axis.
        </Field>
      </Expandable>
    </Field>
  </Step>
</Steps>

***

<Anchor id="class_Fill" />

### `Fill`

*type*

Class which objects represent an element of fill plot.

<Steps>
  <Step title="Fields" icon="key">
    <Field id="field_Fill_color" name="color" type="indie.Optional[indie.Color]">
      Color of the plot element.
    </Field>

    <Field id="field_Fill_offset" name="offset" type="int">
      Offset of the plot element.
    </Field>
  </Step>

  <Step title="Methods" icon="function">
    <Field id="method_Fill_init" name="__init__" type="(color, offset) -> None">
      Class constructor (initializer for the data type).

      <Expandable title="parameters info">
        <Field name="color" type="indie.Optional[indie.Color]" defaultVal="None">
          Color of the plot element.
        </Field>

        <Field name="offset" type="int" defaultVal="0">
          Offset of the plot element.
        </Field>
      </Expandable>
    </Field>
  </Step>
</Steps>

<Info>See also: [`@fill()`](/indie/Library-reference/package-indie-plot#decor_fill)</Info>

***

<Anchor id="class_FillDisplayOptions" />

### `FillDisplayOptions`

*type*

Class with options that control how to display plot data on a chart.

<Steps>
  <Step title="Methods" icon="function">
    <Field id="method_FillDisplayOptions_init" name="__init__" type="(*, pane) -> None">
      Class constructor (initializer for the data type).

      <Expandable title="parameters info">
        <Field name="pane" type="bool" defaultVal="False">
          Whether or not to draw (by default) the plot on the pane.
        </Field>
      </Expandable>
    </Field>
  </Step>
</Steps>

***

<Anchor id="class_Histogram" />

### `Histogram`

*type*

Class which objects represent an element of histogram plot.

<Steps>
  <Step title="Fields" icon="key">
    <Field id="field_Histogram_value" name="value" type="float">
      Value of the plot element.
    </Field>

    <Field id="field_Histogram_color" name="color" type="indie.Optional[indie.Color]">
      Color of the plot element.
    </Field>

    <Field id="field_Histogram_offset" name="offset" type="int">
      Offset of the plot element.
    </Field>
  </Step>

  <Step title="Methods" icon="function">
    <Field id="method_Histogram_init" name="__init__" type="(value, color, offset) -> None">
      Class constructor (initializer for the data type).

      <Expandable title="parameters info">
        <Field name="value" type="float" required>
          Value of the plot element.
        </Field>

        <Field name="color" type="indie.Optional[indie.Color]" defaultVal="None">
          Color of the plot element.
        </Field>

        <Field name="offset" type="int" defaultVal="0">
          Offset of the plot element.
        </Field>
      </Expandable>
    </Field>
  </Step>
</Steps>

<Info>See also: [`@histogram()`](/indie/Library-reference/package-indie-plot#decor_histogram)</Info>

***

<Anchor id="class_HistogramDisplayOptions" />

### `HistogramDisplayOptions`

*type*

Class with options that control how to display plot data on a chart.

<Steps>
  <Step title="Methods" icon="function">
    <Field id="method_HistogramDisplayOptions_init" name="__init__" type="(*, pane, status_line, price_label) -> None">
      Class constructor (initializer for the data type).

      <Expandable title="parameters info">
        <Field name="pane" type="bool" defaultVal="False">
          Whether or not to draw (by default) the plot on the pane.
        </Field>

        <Field name="status_line" type="bool" defaultVal="False">
          Whether or not to show the value of the plot in the status line.
        </Field>

        <Field name="price_label" type="bool" defaultVal="False">
          Whether or not to show the value label of the plot on the price axis.
        </Field>
      </Expandable>
    </Field>
  </Step>
</Steps>

***

<Anchor id="class_Line" />

### `Line`

*type*

Class which objects represent an element of line plot.

<Steps>
  <Step title="Fields" icon="key">
    <Field id="field_Line_value" name="value" type="float">
      Value of the plot element.
    </Field>

    <Field id="field_Line_color" name="color" type="indie.Optional[indie.Color]">
      Color of the plot element.
    </Field>

    <Field id="field_Line_offset" name="offset" type="int">
      Offset of the plot element.
    </Field>
  </Step>

  <Step title="Methods" icon="function">
    <Field id="method_Line_init" name="__init__" type="(value, color, offset) -> None">
      Class constructor (initializer for the data type).

      <Expandable title="parameters info">
        <Field name="value" type="float" required>
          Value of the plot element.
        </Field>

        <Field name="color" type="indie.Optional[indie.Color]" defaultVal="None">
          Color of the plot element.
        </Field>

        <Field name="offset" type="int" defaultVal="0">
          Offset of the plot element.
        </Field>
      </Expandable>
    </Field>
  </Step>
</Steps>

<Info>See also: [`@line()`](/indie/Library-reference/package-indie-plot#decor_line)</Info>

***

<Anchor id="class_LineDisplayOptions" />

### `LineDisplayOptions`

*type*

Class with options that control how to display plot data on a chart.

<Steps>
  <Step title="Methods" icon="function">
    <Field id="method_LineDisplayOptions_init" name="__init__" type="(*, pane, status_line, price_label) -> None">
      Class constructor (initializer for the data type).

      <Expandable title="parameters info">
        <Field name="pane" type="bool" defaultVal="False">
          Whether or not to draw (by default) the plot on the pane.
        </Field>

        <Field name="status_line" type="bool" defaultVal="False">
          Whether or not to show the value of the plot in the status line.
        </Field>

        <Field name="price_label" type="bool" defaultVal="False">
          Whether or not to show the value label of the plot on the price axis.
        </Field>
      </Expandable>
    </Field>
  </Step>
</Steps>

***

<Anchor id="class_Marker" />

### `Marker`

*type*

Class which objects represent an element of marker plot.

<Steps>
  <Step title="Fields" icon="key">
    <Field id="field_Marker_value" name="value" type="float">
      Value of the plot element.
    </Field>

    <Field id="field_Marker_color" name="color" type="indie.Optional[indie.Color]">
      Color of the plot element.
    </Field>

    <Field id="field_Marker_text" name="text" type="indie.Optional[str]">
      Marker text.
    </Field>

    <Field id="field_Marker_offset" name="offset" type="int">
      Offset of the plot element.
    </Field>
  </Step>

  <Step title="Methods" icon="function">
    <Field id="method_Marker_init" name="__init__" type="(value, color, text, offset) -> None">
      Class constructor (initializer for the data type).

      <Expandable title="parameters info">
        <Field name="value" type="float" required>
          Value of the plot element.
        </Field>

        <Field name="color" type="indie.Optional[indie.Color]" defaultVal="None">
          Color of the plot element.
        </Field>

        <Field name="text" type="indie.Optional[str]" defaultVal="None">
          Marker text.
        </Field>

        <Field name="offset" type="int" defaultVal="0">
          Offset of the plot element.
        </Field>
      </Expandable>
    </Field>
  </Step>
</Steps>

<Info>See also: [`@marker()`](/indie/Library-reference/package-indie-plot#decor_marker)</Info>

***

<Anchor id="class_MarkerDisplayOptions" />

### `MarkerDisplayOptions`

*type*

Class with options that control how to display plot data on a chart.

<Steps>
  <Step title="Methods" icon="function">
    <Field id="method_MarkerDisplayOptions_init" name="__init__" type="(*, pane, status_line, price_label) -> None">
      Class constructor (initializer for the data type).

      <Expandable title="parameters info">
        <Field name="pane" type="bool" defaultVal="False">
          Whether or not to draw (by default) the plot on the pane.
        </Field>

        <Field name="status_line" type="bool" defaultVal="False">
          Whether or not to show the value of the plot in the status line.
        </Field>

        <Field name="price_label" type="bool" defaultVal="False">
          Whether or not to show the value label of the plot on the price axis.
        </Field>
      </Expandable>
    </Field>
  </Step>
</Steps>

***

<Anchor id="class_Steps" />

### `Steps`

*type*

Class which objects represent an element of steps plot.

<Steps>
  <Step title="Fields" icon="key">
    <Field id="field_Steps_value" name="value" type="float">
      Value of the plot element.
    </Field>

    <Field id="field_Steps_color" name="color" type="indie.Optional[indie.Color]">
      Color of the plot element.
    </Field>

    <Field id="field_Steps_offset" name="offset" type="int">
      Offset of the plot element.
    </Field>
  </Step>

  <Step title="Methods" icon="function">
    <Field id="method_Steps_init" name="__init__" type="(value, color, offset) -> None">
      Class constructor (initializer for the data type).

      <Expandable title="parameters info">
        <Field name="value" type="float" required>
          Value of the plot element.
        </Field>

        <Field name="color" type="indie.Optional[indie.Color]" defaultVal="None">
          Color of the plot element.
        </Field>

        <Field name="offset" type="int" defaultVal="0">
          Offset of the plot element.
        </Field>
      </Expandable>
    </Field>
  </Step>
</Steps>

<Info>See also: [`@steps()`](/indie/Library-reference/package-indie-plot#decor_steps)</Info>

***

<Anchor id="class_StepsDisplayOptions" />

### `StepsDisplayOptions`

*type*

Class with options that control how to display plot data on a chart.

<Steps>
  <Step title="Methods" icon="function">
    <Field id="method_StepsDisplayOptions_init" name="__init__" type="(*, pane, status_line, price_label) -> None">
      Class constructor (initializer for the data type).

      <Expandable title="parameters info">
        <Field name="pane" type="bool" defaultVal="False">
          Whether or not to draw (by default) the plot on the pane.
        </Field>

        <Field name="status_line" type="bool" defaultVal="False">
          Whether or not to show the value of the plot in the status line.
        </Field>

        <Field name="price_label" type="bool" defaultVal="False">
          Whether or not to show the value label of the plot on the price axis.
        </Field>
      </Expandable>
    </Field>
  </Step>
</Steps>

***

## Enums

<Anchor id="enum_marker_position" />

### `marker_position`

*enum*

Enum-like class with constants of marker positions.

<Steps>
  <Step title="Static fields" icon="cubes">
    <Field id="const_marker_position_ABOVE" name="ABOVE" type="indie.plot.marker_position">
      Built-in marker position constant that determines how the marker is rendered.
    </Field>

    <Field id="const_marker_position_BELOW" name="BELOW" type="indie.plot.marker_position">
      Built-in marker position constant that determines how the marker is rendered.
    </Field>

    <Field id="const_marker_position_LEFT" name="LEFT" type="indie.plot.marker_position">
      Built-in marker position constant that determines how the marker is rendered.
    </Field>

    <Field id="const_marker_position_RIGHT" name="RIGHT" type="indie.plot.marker_position">
      Built-in marker position constant that determines how the marker is rendered.
    </Field>

    <Field id="const_marker_position_CENTER" name="CENTER" type="indie.plot.marker_position">
      Built-in marker position constant that determines how the marker is rendered.
    </Field>
  </Step>
</Steps>

***

<Anchor id="enum_marker_style" />

### `marker_style`

*enum*

Enum-like class with constants of marker styles.

<Steps>
  <Step title="Static fields" icon="cubes">
    <Field id="const_marker_style_NONE" name="NONE" type="indie.plot.marker_style">
      Built-in marker style constant that determines how the marker is rendered.
    </Field>

    <Field id="const_marker_style_CIRCLE" name="CIRCLE" type="indie.plot.marker_style">
      Built-in marker style constant that determines how the marker is rendered.
    </Field>

    <Field id="const_marker_style_LABEL" name="LABEL" type="indie.plot.marker_style">
      Built-in marker style constant that determines how the marker is rendered.
    </Field>

    <Field id="const_marker_style_CROSS" name="CROSS" type="indie.plot.marker_style">
      Built-in marker style constant that determines how the marker is rendered.
    </Field>
  </Step>
</Steps>

***
