GOffice.GraphPlot¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
class |
|
class |
|
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
|
|
|
|
|
|
|
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
Reference to bubble axis |
||
r/w |
Reference to circular axis |
||
r/w |
Reference to color axis |
||
r/w |
Semicolon separated list of hints for automatic addition of objects in guru dialog |
||
r/w |
Default type of series line interpolation |
||
r/w |
Name of plot group if any |
||
r/w |
Reference to pseudo-3D axis |
||
r/w |
Reference to radial axis |
||
r/w |
Use a different style for each segment |
||
r/w |
Reference to X axis |
||
r/w |
Reference to Y axis |
||
r/w |
Reference to Z axis |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
axis |
r |
||
base |
r |
||
cardinality_valid |
r |
||
desc |
r |
||
full_cardinality |
r |
||
guru_hints |
r |
||
index_num |
r |
||
interpolation |
r |
||
plot_group |
r |
||
rendering_order |
r |
||
series |
[ |
r |
|
vary_style_by_element |
r |
||
visible_cardinality |
r |
Class Details¶
- class GOffice.GraphPlot(**kwargs)¶
- Bases:
- Abstract:
Yes
- Structure:
- classmethod families()¶
- Returns:
the registered plot families.
- Return type:
- classmethod family_unregister(family)¶
- Parameters:
family (
GOffice.GraphPlotFamily
) –
- classmethod new_by_type(type)¶
- Parameters:
type (
GOffice.GraphPlotType
) –- Return type:
- axis_clear(filter)¶
- Parameters:
filter (
GOffice.GraphAxisSet
) –GOffice.GraphAxisSet
A utility method to clear all existing axis associations flagged by filter
- axis_set_assign(type)¶
- Parameters:
type (
GOffice.GraphAxisSet
) –- Return type:
- axis_set_is_valid(type)¶
- Parameters:
type (
GOffice.GraphAxisSet
) –- Return type:
- axis_set_pref()¶
- Return type:
- clear_series()¶
- foreach_elem(only_visible, handler, *data)¶
- Parameters:
only_visible (
bool
) – whether to restrict to visible elements.handler (
GOffice.GraphEnumFunc
) –GOffice.GraphEnumFunc
Executes funcfor each plot element. Used to build a legend.
- get_axis(type)¶
- Parameters:
- Returns:
the axis if any.
- Return type:
- get_axis_bounds(axis, bounds)¶
- Parameters:
- Returns:
The data providing the bound (does not add a ref)
- Return type:
Queries self for its axis preferences for axis and stores the results in bounds. All elements of bounds are initialized to sane values before the query _EXCEPT_
::fmt
. The caller is responsible for initializing it. This is done so that once on plot has selected a format the others need not do the lookup too if so desired.Caller is responsible for unrefing
::fmt
.
- get_cardinality(full, visible)¶
- Parameters:
Return the number of logical elements in the plot. See gog_chart_get_cardinality.
full and visible may be
None
.
- get_series()¶
- Returns:
A list of the series in self. Do not modify or free the list.
- Return type:
- guru_helper()¶
- new_series()¶
- Returns:
a new
GOffice.GraphSeries
of a type consistent with self.- Return type:
- request_cardinality_update()¶
- set_axis(axis)¶
- Parameters:
axis (
GOffice.GraphAxis
) –GOffice.GraphAxis
Connect axis and self.
- update_3d()¶
- update_cardinality(index_num)¶
- Parameters:
index_num (
int
) – index offset for this plot
Update cardinality and cache result. See gog_chart_get_cardinality.
- do_foreach_elem(only_visible, handler, data) virtual¶
- Parameters:
only_visible (
bool
) – whether to restrict to visible elements.handler (
GOffice.GraphEnumFunc
) –GOffice.GraphEnumFunc
Executes funcfor each plot element. Used to build a legend.
- do_update_3d() virtual¶
Property Details¶
- GOffice.GraphPlot.props.bubble_axis¶
-
Reference to bubble axis
- GOffice.GraphPlot.props.circ_axis¶
-
Reference to circular axis
- GOffice.GraphPlot.props.color_axis¶
-
Reference to color axis
- GOffice.GraphPlot.props.guru_hints¶
-
Semicolon separated list of hints for automatic addition of objects in guru dialog
- GOffice.GraphPlot.props.interpolation¶
-
Default type of series line interpolation
- GOffice.GraphPlot.props.plot_group¶
-
Name of plot group if any
- GOffice.GraphPlot.props.pseudo_3d_axis¶
-
Reference to pseudo-3D axis
- GOffice.GraphPlot.props.radial_axis¶
-
Reference to radial axis
- GOffice.GraphPlot.props.vary_style_by_element¶
-
Use a different style for each segment
- GOffice.GraphPlot.props.x_axis¶
-
Reference to X axis
- GOffice.GraphPlot.props.y_axis¶
-
Reference to Y axis