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

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

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