|  |  |  | Goffice Reference Manual |  | 
|---|---|---|---|---|
enum GogSeriesFillType; #define GOG_SERIES_ELEMENT_TYPE #define GOG_SERIES_ELEMENT (o) #define IS_GOG_SERIES_ELEMENT (o) GType gog_series_element_get_type (void); #define GOG_SERIES_TYPE #define GOG_SERIES (o) #define IS_GOG_SERIES (o) GType gog_series_get_type (void); gboolean gog_series_is_valid (GogSeries const *series); gboolean gog_series_has_legend (GogSeries const *series); GODataScalar* gog_series_get_name (GogSeries const *series); GogPlot* gog_series_get_plot (GogSeries const *series); void gog_series_set_name (GogSeries *series, GODataScalar *name_src, GError **err); void gog_series_set_dim (GogSeries *series, int dim_i, GOData *val, GError **err); void gog_series_set_index (GogSeries *series, int ind, gboolean is_manual); unsigned gog_series_num_elements (GogSeries const *series); GListconst * gog_series_get_overrides (GogSeries const *series); 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); GogSeriesFillType gog_series_get_fill_type (GogSeries const *series); void gog_series_set_fill_type (GogSeries *series, GogSeriesFillType fill_type); void gog_series_populate_fill_type_combo (GogSeries const *series, GtkComboBox *combo); GogSeriesFillType gog_series_get_fill_type_from_combo (GogSeries const *series, GtkComboBox *combo);
typedef enum {
	GOG_SERIES_FILL_TYPE_Y_ORIGIN,
	GOG_SERIES_FILL_TYPE_X_ORIGIN,
	GOG_SERIES_FILL_TYPE_BOTTOM,
	GOG_SERIES_FILL_TYPE_LEFT,
	GOG_SERIES_FILL_TYPE_TOP,
	GOG_SERIES_FILL_TYPE_RIGHT,
	GOG_SERIES_FILL_TYPE_ORIGIN,
	GOG_SERIES_FILL_TYPE_CENTER,
	GOG_SERIES_FILL_TYPE_EDGE,
	GOG_SERIES_FILL_TYPE_SELF,
	GOG_SERIES_FILL_TYPE_NEXT,
	GOG_SERIES_FILL_TYPE_INVALID
} GogSeriesFillType;
#define GOG_SERIES_ELEMENT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOG_SERIES_ELEMENT_TYPE, GogSeriesElement))
| 
 | 
#define IS_GOG_SERIES_ELEMENT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GOG_SERIES_ELEMENT_TYPE))
| 
 | 
#define GOG_SERIES(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOG_SERIES_TYPE, GogSeries))
| 
 | 
gboolean gog_series_is_valid (GogSeries const *series);
| 
 | GogSeries | 
| Returns : | the current cached validity. Does not recheck | 
gboolean gog_series_has_legend (GogSeries const *series);
| 
 | GogSeries | 
| Returns : | TRUE if the series has a visible legend entry | 
GODataScalar* gog_series_get_name (GogSeries const *series);
Gets the _source_ of the name associated with the series. NOTE : this is _NOT_ the actual name.
| 
 | a GogSeries | 
| Returns : | a GODataScalar, without added reference. | 
GogPlot* gog_series_get_plot (GogSeries const *series);
| 
 | GogSeries | 
| Returns : | the possibly NULL plot that contains this series. | 
void                gog_series_set_name                 (GogSeries *series,
                                                         GODataScalar *name_src,
                                                         GError **err);
Absorbs a ref to name_src.
| 
 | a GogSeries | 
| 
 | a GODataScalar | 
| 
 | a Gerror | 
void                gog_series_set_dim                  (GogSeries *series,
                                                         int dim_i,
                                                         GOData *val,
                                                         GError **err);
Absorbs a ref to val
| 
 | GogSeries | 
| 
 | Which dimension | 
| 
 | GOData | 
| 
 | optional Gerror pointer | 
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.
| 
 | GogSeries | 
| 
 | >= 0 assigns a new index, < 0 resets to auto | 
| 
 | gboolean | 
unsigned gog_series_num_elements (GogSeries const *series);
| 
 | GogSeries | 
| Returns : | the number of elements in the series | 
GListconst * gog_series_get_overrides (GogSeries const *series);
| 
 | |
| Returns : | 
unsigned            gog_series_get_xy_data              (GogSeries const *series,
                                                         double const **x,
                                                         double const **y);
| 
 | |
| 
 | |
| 
 | |
| Returns : | 
unsigned            gog_series_get_xyz_data             (GogSeries const *series,
                                                         double const **x,
                                                         double const **y,
                                                         double const **z);
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| Returns : | 
GogSeriesFillType gog_series_get_fill_type (GogSeries const *series);
| 
 | |
| Returns : | 
void                gog_series_set_fill_type            (GogSeries *series,
                                                         GogSeriesFillType fill_type);
| 
 | |
| 
 | 
void                gog_series_populate_fill_type_combo (GogSeries const *series,
                                                         GtkComboBox *combo);
| 
 | |
| 
 | 
GogSeriesFillType gog_series_get_fill_type_from_combo (GogSeries const *series, GtkComboBox *combo);
| 
 | |
| 
 | |
| Returns : |