ooodev.format.inner.direct.chart2.axis.positioning.position_axis module
- class ooodev.format.inner.direct.chart2.axis.positioning.position_axis.PositionAxis(on_mark=True)[source]
Bases:
StyleBase
Chart Axis Line Position.
Note
Does not apply to all axis types.
See also
New in version 0.9.4.
- __init__(on_mark=True)[source]
Constructor
- Parameters:
on_mark (bool, optional) – Specifies that the axis is position. If
True
, specifies that the axis is positioned on the first/last tickmarks. This makes the data points visual representation begin/end at the value axis. IfFalse
, specifies that the axis is positioned between the tickmarks. This makes the data points visual representation begin/end at a distance from the value axis. Default isTrue
.- Return type:
None
See also
- apply(obj, **kwargs)[source]
Applies styles to object
- Parameters:
obj (Any) – UNO Object that styles are to be applied.
kwargs (Any, optional) – Expandable list of key value pairs that may be used in child classes.
- Keyword Arguments:
- Events:
- Return type:
None
Note
If Event data
obj
,data_values
orallow_update
are changed then the new values are used.Add update object to instance if not already set and
allow_update
isTrue
(default).Changed in version 0.27.0: Event data is now a dictionary with keys
source
,obj
,data_values
andallow_update
.Changed in version 0.9.4: Added
validate
keyword arguments.
- property prop_format_kind: FormatKind
Gets the kind of style
- Return type:
- property prop_on_mark: bool
- Return type:
bool