GOffice.GraphErrorBar

g GObject.GInterface GObject.GInterface GOffice.Persist GOffice.Persist GObject.GInterface->GOffice.Persist GObject.Object GObject.Object GOffice.GraphErrorBar GOffice.GraphErrorBar GObject.Object->GOffice.GraphErrorBar GOffice.Persist->GOffice.GraphErrorBar

Subclasses:

None

Methods

Inherited:

GObject.Object (37), GOffice.Persist (2)

Structs:

GObject.ObjectClass (5)

class

prefs (series, property, direction, dalloc, cc)

dup ()

get_bounds (index, min, max)

get_minmax (min, max)

is_visible ()

render (rend, map, x, y, minus, plus, direction)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

base

GObject.Object

r

dim_i

int

r

display

GOffice.GraphErrorBarDisplay

r

error_i

int

r

series

GOffice.GraphSeries

r

style

GOffice.Style

r

type

GOffice.GraphErrorBarType

r

width

float

r

Class Details

class GOffice.GraphErrorBar(**kwargs)
Bases:

GObject.Object, GOffice.Persist

Abstract:

No

classmethod prefs(series, property, direction, dalloc, cc)
Parameters:
Returns:

the error bar properties Gtk.Widget

Return type:

object or None

dup()
Returns:

the duplicated error bar.

Return type:

GOffice.GraphErrorBar

get_bounds(index, min, max)
Parameters:
  • index (int) – the index corresponding to the GOffice.value which error limits are

  • min (float) – where the minimum GOffice.value will be stored

  • max (float) – where the maximum GOffice.value will be stored

Returns:

False if the self->type is GOffice.GraphErrorBarType.NONE or if the GOffice.value is not valid, True otherwise.

Return type:

bool

If the GOffice.value correponding to index is valid, fills min and max with the error values: -> positive_error in max. -> negative_error in min. If one of the errors is not valid or not defined, its GOffice.value is set to -1.0.

get_minmax(min, max)
Parameters:
is_visible()
Return type:

bool

render(rend, map, x, y, minus, plus, direction)
Parameters:

Displays the error bar. If plus is negative, the positive side of the bar is not displayed, and if minus is negative, the negative side of the bar is not displayed. x_map and y_map are used to convert coordinates from data space to canvas coordinates. This function must not be called if GOffice.GraphErrorBar.get_bounds returned False.