GOffice.GraphDataLabel

g GObject.GInterface GObject.GInterface GOffice.GraphDataset GOffice.GraphDataset GObject.GInterface->GOffice.GraphDataset GOffice.StyledObject GOffice.StyledObject GObject.GInterface->GOffice.StyledObject GObject.Object GObject.Object GOffice.GraphObject GOffice.GraphObject GObject.Object->GOffice.GraphObject GOffice.GraphDataLabel GOffice.GraphDataLabel GOffice.GraphDataset->GOffice.GraphDataLabel GOffice.GraphStyledObject GOffice.GraphStyledObject GOffice.GraphObject->GOffice.GraphStyledObject GOffice.GraphOutlinedObject GOffice.GraphOutlinedObject GOffice.GraphOutlinedObject->GOffice.GraphDataLabel GOffice.GraphStyledObject->GOffice.GraphOutlinedObject GOffice.StyledObject->GOffice.GraphStyledObject

Subclasses:

None

Methods

Inherited:

GOffice.GraphOutlinedObject (1), GOffice.GraphObject (40), GObject.Object (37), GOffice.StyledObject (8), GOffice.GraphDataset (7)

Structs:

GObject.ObjectClass (5)

get_element ()

get_position ()

set_allowed_position (allowed)

set_default_position (pos)

set_position (pos)

Virtual Methods

Inherited:

GOffice.GraphStyledObject (2), GOffice.GraphObject (18), GObject.Object (7)

Properties

Inherited:

GOffice.GraphOutlinedObject (1), GOffice.GraphObject (8)

Name

Type

Flags

Short Description

format

str

r/w

Label format

index

int

r/w

Index of the corresponding data element

offset

int

r/w

Offset to add to the label position

Signals

Inherited:

GOffice.GraphStyledObject (1), GOffice.GraphObject (7), GObject.Object (1)

Fields

Inherited:

GOffice.GraphStyledObject (1), GOffice.GraphObject (7), GObject.Object (1)

Name

Type

Access

Description

allowed_pos

int

r

base

GOffice.GraphOutlinedObject

r

custom_label

[GOffice.GraphDatasetElement]

r

default_pos

GOffice.GraphSeriesLabelsPos

r

element

GOffice.GraphSeriesLabelElt

r

format

str

r

index

int

r

offset

int

r

position

GOffice.GraphSeriesLabelsPos

r

separator

str

r

supports_percent

bool

r

Class Details

class GOffice.GraphDataLabel(**kwargs)
Bases:

GOffice.GraphOutlinedObject, GOffice.GraphDataset

Abstract:

No

get_element()
Return type:

GOffice.GraphSeriesLabelElt

get_position()
Return type:

GOffice.GraphSeriesLabelsPos

set_allowed_position(allowed)
Parameters:

allowed (int) –

set_default_position(pos)
Parameters:

pos (GOffice.GraphSeriesLabelsPos) –

set_position(pos)
Parameters:

pos (GOffice.GraphSeriesLabelsPos) –

Property Details

GOffice.GraphDataLabel.props.format
Name:

format

Type:

str

Default Value:

''

Flags:

READABLE, WRITABLE

Label format

GOffice.GraphDataLabel.props.index
Name:

index

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE

Index of the corresponding data element

GOffice.GraphDataLabel.props.offset
Name:

offset

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE

Offset to add to the label position