| Top |
| GogAxisType | gog_axis_get_atype () |
| gboolean | gog_axis_is_center_on_ticks () |
| gboolean | gog_axis_is_discrete () |
| gboolean | gog_axis_is_inverted () |
| gboolean | gog_axis_get_bounds () |
| void | gog_axis_set_bounds () |
| void | gog_axis_set_extents () |
| GOFormat * | gog_axis_get_format () |
| gboolean | gog_axis_set_format () |
| unsigned | gog_axis_get_ticks () |
| GOData * | gog_axis_get_labels () |
| double | gog_axis_get_entry () |
| void | gog_axis_add_contributor () |
| void | gog_axis_del_contributor () |
| GSList const * | gog_axis_contributors () |
| void | gog_axis_clear_contributors () |
| void | gog_axis_bound_changed () |
| GogGridLine * | gog_axis_get_grid_line () |
| double | gog_axis_get_circular_rotation () |
| const GODateConventions * | gog_axis_get_date_conv () |
| GOFormat * | gog_axis_get_effective_format () |
| double | gog_axis_get_polar_perimeter () |
| void | gog_axis_set_polar_unit () |
| GogAxisPolarUnit | gog_axis_get_polar_unit () |
| gchar * | assigned-format-string-XL | Read / Write |
| gdouble | circular-rotation | Read / Write |
| gboolean | invert-axis | Read / Write |
| gchar * | map-name | Read / Write |
| gchar * | polar-unit | Read / Write |
| gint | type | Read / Write |
| GogAxis | |
| enum | GogAxisSet |
| enum | GogAxisType |
| enum | GogAxisElemType |
| enum | GogAxisPolarUnit |
An axis of a GogPlot. The axis handles things like the bounds, ticks, and tick value formats. When used in plots with X/Y/Z axes, it can optionally have one GogLabel objects in the role "Label".
gboolean gog_axis_get_bounds (GogAxis const *axis,double *minima,double *maxima);
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.
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.
gboolean gog_axis_set_format (GogAxis *axis,GOFormat *fmt);
Absorbs a reference to fmt
, and accepts NULL.
unsigned gog_axis_get_ticks (GogAxis *axis,GogAxisTick **ticks);
An accessor to axis->ticks
.
GOData * gog_axis_get_labels (GogAxis const *axis,GogPlot **plot_that_labeled_axis);
the possibly NULL GOData used as a label for this axis along with the plot that it was associated with
double gog_axis_get_entry (GogAxis const *axis,GogAxisElemType i,gboolean *user_defined);
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.
void gog_axis_set_polar_unit (GogAxis *axis,GogAxisPolarUnit unit);
Sets unit of a circular axis. See GogAxisPolarUnit for valid values.
“assigned-format-string-XL” property“assigned-format-string-XL” gchar *
The user assigned format to use for non-discrete axis labels (XL format).
Flags: Read / Write
Default value: "General"
“circular-rotation” property“circular-rotation” gdouble
Rotation of circular axis.
Flags: Read / Write
Allowed values: [-180,180]
Default value: 0
“invert-axis” property“invert-axis” gboolean
Scale from high to low rather than low to high.
Flags: Read / Write
Default value: FALSE
“map-name” property“map-name” gchar *
The name of the map for scaling.
Flags: Read / Write
Default value: "linear"
“polar-unit” property“polar-unit” gchar *
Polar axis set unit.
Flags: Read / Write
Default value: "Degrees"
“type” property“type” gint
Numerical type of this axis.
Flags: Read / Write
Allowed values: [-1,8]
Default value: -1