plot

plot_style
Description

Style for the line plots.

Enum Items
  • style.solid_line – Solid line.

  • style.dash_line – Dashed line.

  • style.area – Area plot.

  • style.points – Points plot.

  • style.crosses – Crosses plot.

  • style.levels – Levels plot.

na_mode
Description

The way the plot handles nan values in the input series.

Enum Items
  • na_mode.restart – The line is not drawn over the areas, where series values are nan

  • na_mode.continue – The line connects subsequent valid values.

plot(series[, name][, color][, line_width][, offset][, plot_style][, na_handling_mode])[has-table-overload]
Parameters
  • series (series[numeric]) – Input series.

  • name (string) – Name of the plot. Default value is "plot(first,second)"

  • color (color) – Color of the plot. Default value is "white"

  • line_width (integer) – Width of the line. Default value is 1

  • offset (integer) – The offset in bars to shift the line left or right. Default value is 0.

  • plot_style (plot_style) – Plot style. Not yet handled by the engine. Default value is style.solid_line.

  • na_handling_mode (na_mode) – The mode for handling nan data in the input series. Default value is na_mode.restart.

Plots the input series as a linear plot.