BarValuesDecorator

class qf_lib.plotting.decorators.bar_values_decorator.BarValuesDecorator(series: QFSeries, key: Optional[str] = None)[source]

Bases: ChartDecorator

Adds values next to each bar on the bar chart.

Parameters:
  • series (QFSeries) – series that is going to be decorated by the cone

  • key (str) – see ChartDecorator.key.__init__#key

Methods:

decorate(chart)

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

decorate(chart: Chart) None[source]

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