Object Hierarchy

  GObject
   +----GogObject
         +----GogStyledObject
               +----GogAxisBase
                     +----GogAxis
                     +----GogAxisLine
  GObject
   +----GogObject
         +----GogStyledObject
               +----GogAxisBase
                     +----GogAxisLine

Implemented Interfaces

GogAxisBase implements GOStyledObject.

GogAxisLine implements GOStyledObject and GogDataset.

Properties

  "cross-axis-id"            guint                 : Read / Write
  "major-tick-in"            gboolean              : Read / Write
  "major-tick-labeled"       gboolean              : Read / Write
  "major-tick-out"           gboolean              : Read / Write
  "major-tick-size-pts"      gint                  : Read / Write
  "minor-tick-in"            gboolean              : Read / Write
  "minor-tick-out"           gboolean              : Read / Write
  "minor-tick-size-pts"      gint                  : Read / Write
  "padding-pts"              gint                  : Read / Write
  "pos"                      guint                 : Read / Write
  "pos-str"                  gchar*                : Read / Write

Description

Details

GogAxisBase

typedef struct _GogAxisBase GogAxisBase;


GogAxisLine

typedef struct _GogAxisLine GogAxisLine;


enum GogAxisPosition

typedef enum {
	GOG_AXIS_AT_LOW,
	GOG_AXIS_CROSS,
	GOG_AXIS_AT_HIGH,
	GOG_AXIS_AUTO
} GogAxisPosition;

GOG_AXIS_AT_LOW

crosses the other axis at low values.

GOG_AXIS_CROSS

crosses the other axis at a given value.

GOG_AXIS_AT_HIGH

crosses the other axis at high values.

GOG_AXIS_AUTO

crosses at an automatically determined position.

enum GogAxisTickTypes

typedef enum {
	GOG_AXIS_TICK_NONE,
	GOG_AXIS_TICK_MAJOR,
	GOG_AXIS_TICK_MINOR
} GogAxisTickTypes;

GOG_AXIS_TICK_NONE

no tick, should not occur.

GOG_AXIS_TICK_MAJOR

major tick.

GOG_AXIS_TICK_MINOR

minor tick.

gog_axis_base_get_cross_location ()

double              gog_axis_base_get_cross_location    (GogAxisBase *axis_base);


gog_axis_base_get_crossed_axis ()

GogAxis *           gog_axis_base_get_crossed_axis      (GogAxisBase *axis_base);

axis_base :

GogAxisBase

Returns :

returns the crossing axis in a 2D chart if set. [transfer none]

Property Details

The "cross-axis-id" property

  "cross-axis-id"            guint                 : Read / Write

Which axis to cross.

Default value: 0


The "major-tick-in" property

  "major-tick-in"            gboolean              : Read / Write

Major tick marks inside the chart area.

Default value: FALSE


The "major-tick-labeled" property

  "major-tick-labeled"       gboolean              : Read / Write

Show labels for major ticks.

Default value: TRUE


The "major-tick-out" property

  "major-tick-out"           gboolean              : Read / Write

Major tick marks outside the chart area.

Default value: TRUE


The "major-tick-size-pts" property

  "major-tick-size-pts"      gint                  : Read / Write

Size of the major tick marks, in points.

Allowed values: [0,20]

Default value: 4


The "minor-tick-in" property

  "minor-tick-in"            gboolean              : Read / Write

Minor tick marks inside the chart area.

Default value: FALSE


The "minor-tick-out" property

  "minor-tick-out"           gboolean              : Read / Write

Minor tick marks outside the axis.

Default value: FALSE


The "minor-tick-size-pts" property

  "minor-tick-size-pts"      gint                  : Read / Write

Size of the minor tick marks, in points.

Allowed values: [0,15]

Default value: 2


The "padding-pts" property

  "padding-pts"              gint                  : Read / Write

Distance from axis line to plot area, in points.

Allowed values: >= -2147483647

Default value: 0


The "pos" property

  "pos"                      guint                 : Read / Write

Where to position an axis low, high, or crossing.

Allowed values: <= 2

Default value: 0


The "pos-str" property

  "pos-str"                  gchar*                : Read / Write

Where to position an axis low, high, or crossing.

Default value: "low"