| Top |
| void | gog_series_check_validity () |
| GogSeriesElement * | gog_series_get_element () |
| GogSeriesFillType | gog_series_get_fill_type () |
| GogSeriesFillType | gog_series_get_fill_type_from_combo () |
| GogDataset * | gog_series_get_interpolation_params () |
| GOData * | gog_series_get_name () |
| GList const * | gog_series_get_overrides () |
| GogPlot * | gog_series_get_plot () |
| unsigned | gog_series_get_xy_data () |
| unsigned | gog_series_get_xyz_data () |
| gboolean | gog_series_has_legend () |
| gboolean | gog_series_is_valid () |
| int | gog_series_map_XL_dim () |
| unsigned | gog_series_num_elements () |
| void | gog_series_populate_fill_type_combo () |
| void | gog_series_set_XL_dim () |
| void | gog_series_set_dim () |
| void | gog_series_set_fill_type () |
| void | gog_series_set_index () |
| void | gog_series_set_name () |
| gchar * | fill-type | Read / Write |
| gboolean | has-legend | Read / Write |
| gchar * | interpolation | Read / Write |
| gboolean | interpolation-skip-invalid | Read / Write |
| gint | index | Read / Write |
GogSeries implements GOStyledObject and GogDataset.
GogSeriesElement implements GOStyledObject.
void
gog_series_check_validity (GogSeries *series);
Updates the is_valid flag for a series. This is an internal utility that should not really be necessary for general usage.
GogSeriesElement * gog_series_get_element (GogSeries const *series,int index);
GogSeriesFillType gog_series_get_fill_type_from_combo (GogSeries const *series,GtkComboBox *combo);
GogDataset *
gog_series_get_interpolation_params (GogSeries const *series);
Only constrained cubic spline interpolation use parameters (for the slopes at each end).
GOData *
gog_series_get_name (GogSeries const *series);
Gets the _source_ of the name associated with the series. NOTE : this is _NOT_ the actual name.
GList const *
gog_series_get_overrides (GogSeries const *series);
Overrides are data owning their own style, overriding the series style.
unsigned gog_series_get_xy_data (GogSeries const *series,double const **x,double const **y);
unsigned gog_series_get_xyz_data (GogSeries const *series,double const **x,double const **y,double const **z);
void gog_series_populate_fill_type_combo (GogSeries const *series,GtkComboBox *combo);
void gog_series_set_XL_dim (GogSeries *series,GogMSDimType ms_type,GOData *val,GError **err);
void gog_series_set_dim (GogSeries *series,int dim_i,GOData *val,GError **err);
Absorbs a ref to val
void gog_series_set_fill_type (GogSeries *series,GogSeriesFillType fill_type);
void gog_series_set_index (GogSeries *series,int ind,gboolean 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.
void gog_series_set_name (GogSeries *series,GODataScalar *name_src,GError **err);
Absorbs a ref to name_src
.
typedef struct {
GogStyledObjectClass base;
gboolean has_interpolation;
gboolean has_fill_type;
GogSeriesFillType const *valid_fill_type_list;
GType series_element_type;
/* Virtuals */
void (*dim_changed) (GogSeries *series, int dim_i);
unsigned (*get_xy_data) (GogSeries const *series,
double const **x, double const **y);
GogDataset *(*get_interpolation_params) (GogSeries const *series);
} GogSeriesClass;
GogStyledObjectClass |
base class |
|
supports interpolation. |
||
|
||
GogSeriesFillType const * |
list of supported GogSeriesFillType values. |
|
GType for the series element if supported. |
||
called when data changed for the series. |
||
get X and Y data. |
||
get interpolation parameters if any, only applies to constrained cubic spline interpolation. |
typedef struct {
unsigned int style_fields;
unsigned int num_dim;
GogSeriesDimDesc const *dim;
} GogSeriesDesc;
the style fields that are meaningful for series. |
||
number of dimensions for series. |
||
GogSeriesDimDesc const * |
dimensions descriptions. |
typedef struct {
char const *name;
GogSeriesPriority priority;
gboolean is_shared;
GogDimType val_type;
GogMSDimType ms_type;
} GogSeriesDimDesc;
name. |
||
GogSeriesPriority |
priority. |
|
whether the dimension is shared among the series. |
||
GogDimType |
data type. |
|
GogMSDimType |
data type for foreign formats. |
Data types classed according to what they become when exported to foreign formats.
|
labels. |
||
|
values. |
||
|
categories. |
||
|
bubble values. |
||
|
maximum value known by MS, should not occur. |
||
|
positive erros on first dimension, we made it up. |
||
|
negative erros on first dimension, we made it up. |
||
|
positive erros on second dimension, we made it up. |
||
|
negative erros on second dimension, we made it up |
||
|
start value, we made it up for dropbars. |
||
|
end value, we made it up for dropbars. |
||
|
low value, we made it up for hi-lo. |
||
|
high value, we made it up for hi-lo. |
||
|
we made it up for other uses. |
||
|
we made it up for other uses. |
typedef struct {
GogStyledObjectClass base;
/* Virtuals */
gpointer (*gse_populate_editor) (GogObject *gobj,
GOEditor *editor,
GOCmdContext *cc);
} GogSeriesElementClass;
|
from origin ox the X-axis. |
||
|
from the origin of the Y-axis |
||
|
from the chart bottom. |
||
|
from the chart left side. |
||
|
from the chart top. |
||
|
, from the chart right side. |
||
|
from the origin (for radar and polar plots). |
||
|
from the center (for radar and polar plots). |
||
|
from the edge (for radar and polar plots). |
||
|
close the series curve and fills it. |
||
|
from next series. |
||
|
from X-axis minimum. |
||
|
from X-axis maximum. |
||
|
from Y-axis minimum. |
||
|
from Y-axis maximum. |
||
|
invalid, should not happen. |
“fill-type” property “fill-type” gchar *
How to fill the area.
Owner: GogSeries
Flags: Read / Write
Default value: "invalid"
“has-legend” property “has-legend” gboolean
Should the series show up in legends.
Owner: GogSeries
Flags: Read / Write
Default value: TRUE
“interpolation” property “interpolation” gchar *
Type of line interpolation.
Owner: GogSeries
Flags: Read / Write
Default value: "linear"
“interpolation-skip-invalid” property “interpolation-skip-invalid” gboolean
Should the series interpolation ignore the invalid data.
Owner: GogSeries
Flags: Read / Write
Default value: FALSE