GOffice.GraphErrorBar¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
base |
r |
||
dim_i |
r |
||
display |
r |
||
error_i |
r |
||
series |
r |
||
style |
r |
||
type |
r |
||
width |
r |
Class Details¶
- class GOffice.GraphErrorBar(**kwargs)¶
- Bases:
- Abstract:
No
- classmethod prefs(series, property, direction, dalloc, cc)¶
- Parameters:
series (
GOffice.GraphSeries
) –GOffice.GraphSeries
property (
str
) – the name of the series property correspondig to theGOffice.GraphErrorBar
.direction (
GOffice.GraphErrorBarDirection
) –GOffice.GraphErrorBarDirection
dalloc (
GOffice.GraphDataAllocator
) –GOffice.GraphDataAllocator
- Returns:
the error bar properties
Gtk.Widget
- Return type:
- dup()¶
- Returns:
the duplicated error bar.
- Return type:
- get_bounds(index, min, max)¶
- Parameters:
- Returns:
False
if the self->type isGOffice.GraphErrorBarType.NONE
or if theGOffice.value
is not valid,True
otherwise.- Return type:
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, itsGOffice.value
is set to -1.0.
- render(rend, map, x, y, minus, plus, direction)¶
- Parameters:
rend (
GOffice.GraphRenderer
) – AGOffice.GraphRenderer
map (
GOffice.GraphChartMap
) – AGOffice.GraphChartMap
for the chartx (
float
) – x coordinate of the origin of the bary (
float
) – y coordinate of the origin of the barminus (
float
) – distance from the origin to the negative end of the barplus (
float
) – distance from the origin to the positive end of the bardirection (
GOffice.GraphErrorBarDirection
) – theGOffice.GraphErrorBarDirection
for the bar.
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
returnedFalse
.