SeriesLineDecorator

class qf_lib.plotting.decorators.series_line_decorator.SeriesLineDecorator(series: QFSeries, key: Optional[str] = None, use_secondary_axes: bool = False, **plot_settings: Any)[source]

Bases: ChartDecorator, SimpleLegendItem

A simple decorator that displays a single series, useful for charts that want a line overlay for example bar chart.

Methods:

decorate(chart)

Modifies the axes object taken from the chart (e.g.

decorate(chart)[source]

Modifies the axes object taken from the chart (e.g. adds legend, draws cone, etc.).