ooodev.format.inner.direct.chart2.series.data_series.options.settings module
- class ooodev.format.inner.direct.chart2.series.data_series.options.settings.Settings(chart_doc, *, spacing=None, overlap=None, side_by_side=None, **kwargs)[source]
Bases:
StyleBase
Chart Data Series Settings
Note
The axis that the setting are applied to is determined by the axis that the data series is plotted on. For this reason if formatting is applied to a data series axis it should be done before applying
Settings
.New in version 0.9.4.
- __init__(chart_doc, *, spacing=None, overlap=None, side_by_side=None, **kwargs)[source]
Constructor
- Parameters:
chart_doc (XChartDocument) – Chart document.
spacing (int | None, optional) – Spacing between bars. Must be a positive integer value. Defaults to
None
.overlap (int | None, optional) – Overlap of bars. Defaults to
None
.side_by_side (bool | None, optional) – Specifies if bars are shown side by side. Defaults to
None
.
- Return type:
None
- apply(obj: Any)[source]
- apply(obj: Any, **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:
- property prop_format_kind: FormatKind
Gets the kind of style
- Return type:
- property prop_overlap: int | None
Gets or sets the overlap between bars.
- Return type:
int | None
- property prop_side_by_side: bool | None
Gets or sets whether bars are side by side.
- Return type:
bool | None
- property prop_spacing: int | None
Gets or sets the spacing between bars.
- Return type:
int | None