GOffice.GraphSeries¶
- Subclasses:
None
Methods¶
- Inherited:
GOffice.GraphObject (40), GObject.Object (37), GOffice.StyledObject (8), GOffice.GraphDataset (7)
- Structs:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
|
|
|
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
How to |
||
r/w |
Should the series show up in legends |
||
r/w |
Type of line interpolation |
||
r/w |
Should the series interpolation ignore the invalid data |
Signals¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
acceptable_children |
r |
||
allowed_pos |
r |
||
base |
r |
||
default_pos |
r |
||
fill_type |
r |
||
index |
r |
||
interpolation |
r |
||
interpolation_skip_invalid |
r |
||
manual_index |
r |
||
needs_recalc |
r |
||
overrides |
[ |
r |
|
plot |
r |
||
values |
r |
Class Details¶
- class GOffice.GraphSeries(**kwargs)¶
- Bases:
- Abstract:
Yes
- Structure:
- check_validity()¶
Updates the is_valid flag for a series. This is an internal utility that should not really be necessary for general usage.
- get_element(index)¶
- Parameters:
index (
int
) – the element index- Returns:
the
GOffice.GraphSeriesElement
corresponding to index if any- Return type:
- get_fill_type()¶
- Return type:
- get_fill_type_from_combo(combo)¶
- Parameters:
combo (
Gtk.ComboBox
) –- Return type:
- get_interpolation_params()¶
- Returns:
the interpolation parameters.
- Return type:
Only constrained cubic spline interpolation use parameters (for the slopes at each end).
- get_name()¶
- Returns:
a
GOffice.DataScalar
, without added reference.- Return type:
Gets the _source_ of the name associated with the series. NOTE : this is _NOT_ the actual name.
- get_overrides()¶
- Returns:
the series overrides.
- Return type:
Overrides are data owning their own style, overriding the series style.
- map_XL_dim(ms_type)¶
- Parameters:
ms_type (
GOffice.GraphMSDimType
) –- Return type:
- populate_fill_type_combo(combo)¶
- Parameters:
combo (
Gtk.ComboBox
) –
- set_XL_dim(ms_type, val)¶
- Parameters:
ms_type (
GOffice.GraphMSDimType
) –val (
GOffice.Data
) –
- Raises:
- set_dim(dim_i, val)¶
- Parameters:
dim_i (
int
) – Which dimensionval (
GOffice.Data
) –GOffice.Data
- Raises:
Absorbs a ref to val
- set_fill_type(fill_type)¶
- Parameters:
fill_type (
GOffice.GraphSeriesFillType
) –
- set_index(ind, is_manual)¶
-
If ind >= 0 attempt to assign the new index. Auto indicies (is_manual ==
False
) will not override the current index if it is manual. An index < 0, will reset the index to automatic and potentially queue a revaluation of the parent chart’s cardinality.
- set_name(name_src)¶
- Parameters:
name_src (
GOffice.DataScalar
) – aGOffice.DataScalar
- Raises:
Absorbs a ref to name_src.
- do_get_interpolation_params() virtual¶
- Returns:
the interpolation parameters.
- Return type:
Only constrained cubic spline interpolation use parameters (for the slopes at each end).
Property Details¶
- GOffice.GraphSeries.props.fill_type¶
-
How to
GOffice.fill
the area
- GOffice.GraphSeries.props.has_legend¶
-
Should the series show up in legends
- GOffice.GraphSeries.props.interpolation¶
-
Type of line interpolation