|  |  |  | Goffice Reference Manual |  | 
|---|---|---|---|---|
            GogAxis;
            GogAxisTick;
enum        GogAxisElemType;
GogAxisType gog_axis_get_atype              (GogAxis const *axis);
gboolean    gog_axis_is_center_on_ticks     (GogAxis const *axis);
gboolean    gog_axis_is_discrete            (GogAxis const *axis);
gboolean    gog_axis_is_inverted            (GogAxis const *axis);
gboolean    gog_axis_get_bounds             (GogAxis const *axis,
                                             double *minima,
                                             double *maxima);
void        gog_axis_set_bounds             (GogAxis *axis,
                                             double minimum,
                                             double maximum);
void        gog_axis_set_extents            (GogAxis *axis,
                                             double start,
                                             double stop);
GOFormat*   gog_axis_get_format             (GogAxis const *axis);
gboolean    gog_axis_set_format             (GogAxis *axis,
                                             GOFormat *fmt);
unsigned    gog_axis_get_ticks              (GogAxis *axis,
                                             GogAxisTick **ticks);
GOData*     gog_axis_get_labels             (GogAxis const *axis,
                                             GogPlot **plot_that_labeled_axis);
double      gog_axis_get_entry              (GogAxis const *axis,
                                             GogAxisElemType i,
                                             gboolean *user_defined);
void        gog_axis_add_contributor        (GogAxis *axis,
                                             GogObject *contrib);
void        gog_axis_del_contributor        (GogAxis *axis,
                                             GogObject *contrib);
GSListconst * gog_axis_contributors         (GogAxis *axis);
void        gog_axis_clear_contributors     (GogAxis *axis);
void        gog_axis_bound_changed          (GogAxis *axis,
                                             GogObject *contrib);
GogGridLine* gog_axis_get_grid_line         (GogAxis *axis,
                                             gboolean major);
"assigned-format-string-XL" gchararray : Read / Write "circular-rotation" gdouble : Read / Write "invert-axis" gboolean : Read / Write "map-name" gchararray : Read / Write "polar-unit" gchararray : Read / Write "type" gint : Read / Write
typedef enum {
	GOG_AXIS_ELEM_MIN = 0,
	GOG_AXIS_ELEM_MAX,
	GOG_AXIS_ELEM_MAJOR_TICK,
	GOG_AXIS_ELEM_MINOR_TICK,
	GOG_AXIS_ELEM_CROSS_POINT,
	GOG_AXIS_ELEM_MAX_ENTRY
} GogAxisElemType;
gboolean gog_axis_is_center_on_ticks (GogAxis const *axis);
| axis: | GogAxis | 
| Returns : | TRUE if labels are centered on ticks when axisis discrete | 
gboolean gog_axis_is_discrete (GogAxis const *axis);
| axis: | GogAxis | 
| Returns : | TRUE if axisenumerates a set of discrete items, rather than a
continuous value | 
gboolean gog_axis_is_inverted (GogAxis const *axis);
| axis: | GogAxis | 
| Returns : | TRUE if axisis inverted. | 
gboolean gog_axis_get_bounds (GogAxis const *axis, double *minima, double *maxima);
return TRUE if the bounds stored in minima and maxima are sane
| axis: | GogAxis | 
| minima: | result | 
| maxima: | result | 
| Returns : | 
void gog_axis_set_bounds (GogAxis *axis, double minimum, double maximum);
Sets axis bounds. If minimum or maximum are not finite values, corresponding bound remains unchanged.
| axis: | GogAxis | 
| minimum: | axis low bound | 
| maximum: | axis high bound | 
void gog_axis_set_extents (GogAxis *axis, double start, double stop);
Set axis exents. It's a convenience function that sets axis bounds taking into account invert flag.
| axis: | GogAxis | 
| start: | axis start bound | 
| stop: | axis stop bound | 
GOFormat* gog_axis_get_format (GogAxis const *axis);
| axis: | GogAxis | 
| Returns : | the format assigned to axisbut does not add a reference. | 
gboolean gog_axis_set_format (GogAxis *axis, GOFormat *fmt);
Absorbs a reference to fmt, and accepts NULL.
| axis: | GogAxis | 
| fmt: | GOFormat | 
| Returns : | TRUE if things changed | 
unsigned gog_axis_get_ticks (GogAxis *axis, GogAxisTick **ticks);
An accessor to axis->ticks.
| axis: | GogAxis | 
| ticks: | an array of GogAxisTick | 
| Returns : | number of ticks | 
GOData* gog_axis_get_labels (GogAxis const *axis, GogPlot **plot_that_labeled_axis);
double gog_axis_get_entry (GogAxis const *axis, GogAxisElemType i, gboolean *user_defined);
| axis: | GogAxis | 
| i: | |
| user_defined: | an optionally NULL pointr to gboolean | 
| Returns : | the value of axis element iand setsuser_definedor
	NaN on error | 
void gog_axis_add_contributor (GogAxis *axis, GogObject *contrib);
Register contrib as taking part in the negotiation of axis's bounds.
void gog_axis_del_contributor (GogAxis *axis, GogObject *contrib);
contrib no longer takes part in the negotiation of axis's bounds.
GogGridLine* gog_axis_get_grid_line (GogAxis *axis, gboolean major);
| axis: | |
| major: | |
| Returns : | 
assigned-format-string-XL" property"assigned-format-string-XL" gchararray : Read / Write
The user assigned format to use for non-discrete axis labels (XL format).
Default value: "General"
circular-rotation" property"circular-rotation" gdouble : Read / Write
Rotation of circular axis.
Allowed values: [-180,180]
Default value: 0
invert-axis" property"invert-axis" gboolean : Read / Write
Scale from high to low rather than low to high.
Default value: FALSE
map-name" property"map-name" gchararray : Read / Write
The name of the map for scaling.
Default value: "linear"
polar-unit" property"polar-unit" gchararray : Read / Write
Polar axis set unit.
Default value: "Degrees"
type" property"type" gint : Read / Write
Numerical type of this axis.
Allowed values: [-1,8]
Default value: -1