GOffice.GraphColorScale

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.GraphColorScale GOffice.GraphColorScale GOffice.GraphStyledObject GOffice.GraphStyledObject GOffice.GraphObject->GOffice.GraphStyledObject GOffice.GraphStyledObject->GOffice.GraphColorScale GOffice.StyledObject->GOffice.GraphStyledObject

Subclasses:

None

Methods

Inherited:

GOffice.GraphObject (40), GObject.Object (37), GOffice.StyledObject (8)

Structs:

GObject.ObjectClass (5)

get_axis ()

set_axis (axis)

Virtual Methods

Inherited:

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

Properties

Inherited:

GOffice.GraphObject (8)

Name

Type

Flags

Short Description

axis

str

r/w

Reference to the color or pseudo-3d axis

horizontal

bool

r/w

Whether to display the scale horizontally

tick-size-pts

int

r/w

Size of the tick marks, in points

width

float

r/w

Color scale thickness.

Signals

Inherited:

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

Fields

Inherited:

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

Class Details

class GOffice.GraphColorScale(**kwargs)
Bases:

GOffice.GraphStyledObject

Abstract:

No

get_axis()
Returns:

the associated axis.

Return type:

GOffice.GraphAxis

Gets the axis mapping to the colors and associated with self

set_axis(axis)
Parameters:

axis (GOffice.GraphAxis) – a color or pseudo-3d axis

Associates the axis with self.

Property Details

GOffice.GraphColorScale.props.axis
Name:

axis

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

Reference to the color or pseudo-3d axis

GOffice.GraphColorScale.props.horizontal
Name:

horizontal

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE

Whether to display the scale horizontally

GOffice.GraphColorScale.props.tick_size_pts
Name:

tick-size-pts

Type:

int

Default Value:

4

Flags:

READABLE, WRITABLE

Size of the tick marks, in points

GOffice.GraphColorScale.props.width
Name:

width

Type:

float

Default Value:

10.0

Flags:

READABLE, WRITABLE

Color scale thickness.