GOffice.GraphAxisBase

g GObject.GInterface GObject.GInterface GOffice.StyledObject GOffice.StyledObject GObject.GInterface->GOffice.StyledObject GObject.Object GObject.Object GOffice.GraphObject GOffice.GraphObject GObject.Object->GOffice.GraphObject GOffice.GraphAxisBase GOffice.GraphAxisBase GOffice.GraphStyledObject GOffice.GraphStyledObject GOffice.GraphObject->GOffice.GraphStyledObject GOffice.GraphStyledObject->GOffice.GraphAxisBase GOffice.StyledObject->GOffice.GraphStyledObject

Subclasses:GOffice.GraphAxis, GOffice.GraphAxisLine

Properties

Inherited:GOffice.GraphObject (8)
Name Type Flags Short Description
cross-axis-id int r/w Which axis to cross
major-tick-in bool r/w Major tick marks inside the chart area
major-tick-labeled bool r/w Show labels for major ticks
major-tick-out bool r/w Major tick marks outside the chart area
major-tick-size-pts int r/w Size of the major tick marks, in points
minor-tick-in bool r/w Minor tick marks inside the chart area
minor-tick-out bool r/w Minor tick marks outside the axis
minor-tick-size-pts int r/w Size of the minor tick marks, in points
padding-pts int r/w Distance from axis line to plot area, in points
pos int r/w Where to position an axis low, high, or crossing
pos-str str r/w Where to position an axis low, high, or crossing

Class Details

class GOffice.GraphAxisBase(**kwargs)
Bases:GOffice.GraphStyledObject
Abstract:Yes
get_clamped_position()
Return type:GOffice.GraphAxisPosition
get_cross_location()
Return type:float
get_crossed_axis()
Returns:returns the crossing axis in a 2D chart if set.
Return type:GOffice.GraphAxis
get_crossed_axis_for_plot(plot)
Parameters:plot (GOffice.GraphPlot) – GOffice.GraphPlot
Returns:returns the crossing axis in a 2D plot if set.
Return type:GOffice.GraphAxis
get_crossed_axis_type()
Return type:GOffice.GraphAxisType
get_position()
Return type:GOffice.GraphAxisPosition
set_position(position)
Parameters:position (GOffice.GraphAxisPosition) –

Property Details

GOffice.GraphAxisBase.props.cross_axis_id
Name:cross-axis-id
Type:int
Default Value:0
Flags:READABLE, WRITABLE

Which axis to cross

GOffice.GraphAxisBase.props.major_tick_in
Name:major-tick-in
Type:bool
Default Value:False
Flags:READABLE, WRITABLE

Major tick marks inside the chart area

GOffice.GraphAxisBase.props.major_tick_labeled
Name:major-tick-labeled
Type:bool
Default Value:True
Flags:READABLE, WRITABLE

Show labels for major ticks

GOffice.GraphAxisBase.props.major_tick_out
Name:major-tick-out
Type:bool
Default Value:True
Flags:READABLE, WRITABLE

Major tick marks outside the chart area

GOffice.GraphAxisBase.props.major_tick_size_pts
Name:major-tick-size-pts
Type:int
Default Value:4
Flags:READABLE, WRITABLE

Size of the major tick marks, in points

GOffice.GraphAxisBase.props.minor_tick_in
Name:minor-tick-in
Type:bool
Default Value:False
Flags:READABLE, WRITABLE

Minor tick marks inside the chart area

GOffice.GraphAxisBase.props.minor_tick_out
Name:minor-tick-out
Type:bool
Default Value:False
Flags:READABLE, WRITABLE

Minor tick marks outside the axis

GOffice.GraphAxisBase.props.minor_tick_size_pts
Name:minor-tick-size-pts
Type:int
Default Value:2
Flags:READABLE, WRITABLE

Size of the minor tick marks, in points

GOffice.GraphAxisBase.props.padding_pts
Name:padding-pts
Type:int
Default Value:0
Flags:READABLE, WRITABLE

Distance from axis line to plot area, in points

GOffice.GraphAxisBase.props.pos
Name:pos
Type:int
Default Value:0
Flags:READABLE, WRITABLE

Where to position an axis low, high, or crossing

GOffice.GraphAxisBase.props.pos_str
Name:pos-str
Type:str
Default Value:'auto'
Flags:READABLE, WRITABLE

Where to position an axis low, high, or crossing