GogAxisLine

GogAxisLine

Properties

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

Types and Values

Object Hierarchy

    GObject
    ├── GogObject
       ╰── GogStyledObject
           ╰── GogAxisBase
               ├── GogAxis
               ├── GogAxisLine
               ╰── GogAxisLine
    ╰── GogView
        ╰── GogAxisBaseView

Implemented Interfaces

GogAxisLine implements GOStyledObject and GogDataset.

GogAxisBase implements GOStyledObject.

Description

Functions

Types and Values

GogAxisLine

typedef struct _GogAxisLine GogAxisLine;


GogAxisBase

typedef struct _GogAxisBase GogAxisBase;


enum GogAxisPosition

Members

GOG_AXIS_AT_LOW

   

GOG_AXIS_CROSS

   

GOG_AXIS_AT_HIGH

   

GOG_AXIS_AUTO

   

GogAxisTick

typedef struct {
	double		 position;
	GogAxisTickTypes	 type;
	char 		*label;
} GogAxisTick;


enum GogAxisTickTypes

Members

GOG_AXIS_TICK_NONE

   

GOG_AXIS_TICK_MAJOR

   

GOG_AXIS_TICK_MINOR

   

GogAxisTickProperties

typedef struct {
		gboolean tick_in, tick_out;
		int size_pts;
} GogAxisTickProperties;

Property Details

The “cross-axis-id” property

  “cross-axis-id”            guint

Which axis to cross.

Flags: Read / Write

Default value: 0


The “major-tick-in” property

  “major-tick-in”            gboolean

Major tick marks inside the chart area.

Flags: Read / Write

Default value: FALSE


The “major-tick-labeled” property

  “major-tick-labeled”       gboolean

Show labels for major ticks.

Flags: Read / Write

Default value: TRUE


The “major-tick-out” property

  “major-tick-out”           gboolean

Major tick marks outside the chart area.

Flags: Read / Write

Default value: TRUE


The “major-tick-size-pts” property

  “major-tick-size-pts”      gint

Size of the major tick marks, in points.

Flags: Read / Write

Allowed values: [0,20]

Default value: 4


The “minor-tick-in” property

  “minor-tick-in”            gboolean

Minor tick marks inside the chart area.

Flags: Read / Write

Default value: FALSE


The “minor-tick-out” property

  “minor-tick-out”           gboolean

Minor tick marks outside the axis.

Flags: Read / Write

Default value: FALSE


The “minor-tick-size-pts” property

  “minor-tick-size-pts”      gint

Size of the minor tick marks, in points.

Flags: Read / Write

Allowed values: [0,15]

Default value: 2


The “padding-pts” property

  “padding-pts”              gint

Distance from axis line to plot area, in points.

Flags: Read / Write

Allowed values: >= -2147483647

Default value: 0


The “pos” property

  “pos”                      guint

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

Flags: Read / Write

Allowed values: <= 2

Default value: 0


The “pos-str” property

  “pos-str”                  gchar *

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

Flags: Read / Write

Default value: "low"