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: - 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
- cc (GOffice.CmdContext) –GOffice.CmdContext
 - Returns: - the error bar properties - Gtk.Widget- Return type: 
- series (
 - 
dup()¶
- Returns: - the duplicated error bar. - Return type: - GOffice.GraphErrorBar
 - 
get_bounds(index, min, max)¶
- Parameters: - Returns: - Falseif the self->type is- GOffice.GraphErrorBarType.NONEor if the- GOffice.valueis not valid,- Trueotherwise.- Return type: - If the - GOffice.valuecorreponding 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.valueis set to -1.0.
 - 
render(rend, map, x, y, minus, plus, direction)¶
- Parameters: - rend (GOffice.GraphRenderer) – AGOffice.GraphRenderer
- map (GOffice.GraphChartMap) – AGOffice.GraphChartMapfor the chart
- x (float) – x coordinate of the origin of the bar
- y (float) – y coordinate of the origin of the bar
- minus (float) – distance from the origin to the negative end of the bar
- plus (float) – distance from the origin to the positive end of the bar
- direction (GOffice.GraphErrorBarDirection) – theGOffice.GraphErrorBarDirectionfor 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_boundsreturned- False.
- rend (
 
- 
classmethod