ooodev.format.inner.direct.chart2.series.data_series.options.legend_entry module

class ooodev.format.inner.direct.chart2.series.data_series.options.legend_entry.LegendEntry(chart_doc, *, hide_legend=False, **kwargs)[source]

Bases: StyleBase

Chart Data Series Legend Visibility

__init__(chart_doc, *, hide_legend=False, **kwargs)[source]

Constructor

Parameters:
  • chart_doc (XChartDocument) – Chart document.

  • hide_legend (bool, optional) – Specifies if legend entry is to be hidden. Defaults to False.

Return type:

None

apply(obj: object)[source]
apply(obj: object, **kwargs)
apply(obj, **kwargs)

Applies styles to object

Parameters:

obj (object) – UNO Object that styles are to be applied.

Return type:

None

copy()[source]
copy(**kwargs)
copy(**kwargs)

Gets a copy of instance as a new instance

Return type:

LegendEntry

property prop_format_kind: FormatKind

Gets the kind of style

Return type:

FormatKind

property prop_hide_legend: bool

Gets or sets whether the legend is hidden.

Return type:

bool