Top | ![]() |
![]() |
![]() |
![]() |
gchar * | axis-label | Read / Write / Construct |
gboolean | draw-edge | Read / Write / Construct |
gboolean | draw-label | Read / Write / Construct |
gdouble | edge-thickness | Read / Write / Construct |
gdouble | label-offset | Read / Write / Construct |
gdouble | major-tick-length | Read / Write / Construct |
gdouble | major-tick-thickness | Read / Write / Construct |
gdouble | minor-tick-length | Read / Write / Construct |
BCompass | position | Read / Write / Construct Only |
gboolean | show-major-labels | Read / Write / Construct |
gboolean | show-major-ticks | Read / Write / Construct |
gboolean | show-minor-ticks | Read / Write / Construct |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkDrawingArea ╰── BElementView ╰── BElementViewCartesian ╰── BAxisView
This widget is used to display axes along the edges of a BScatterLineView or BDensityView. The orientation of the axis and position of the axis edge are controlled by the "position" property, which indicates on which side of the plot the axis should be placed.
The axis type to use to get/set the view interval and axis markers is META_AXIS.
The color used for the edge and tick marks are controlled using a CSS stylesheet. Classes called "edge", "major-ticks", "minor-ticks" can be used to set the color.
“axis-label”
property “axis-label” gchar *
Label for the axis.
Flags: Read / Write / Construct
Default value: ""
“draw-edge”
property “draw-edge” gboolean
Whether to draw the axis edge next to the main plot.
Flags: Read / Write / Construct
Default value: TRUE
“draw-label”
property “draw-label” gboolean
Whether to draw an axis label.
Flags: Read / Write / Construct
Default value: TRUE
“edge-thickness”
property “edge-thickness” gdouble
The thickness of the axis edge in pixels.
Flags: Read / Write / Construct
Allowed values: [0,10]
Default value: 1
“label-offset”
property “label-offset” gdouble
The gap between ticks and labels in pixels.
Flags: Read / Write / Construct
Allowed values: [0,10]
Default value: 2
“major-tick-length”
property “major-tick-length” gdouble
The length of major ticks in pixels.
Flags: Read / Write / Construct
Allowed values: [0,100]
Default value: 5
“major-tick-thickness”
property “major-tick-thickness” gdouble
The thickness of major ticks in pixels.
Flags: Read / Write / Construct
Allowed values: [0,10]
Default value: 1
“minor-tick-length”
property “minor-tick-length” gdouble
The length of minor ticks in pixels.
Flags: Read / Write / Construct
Allowed values: [0,100]
Default value: 3
“position”
property“position” BCompass
The position of the axis with respect to a plot.
Flags: Read / Write / Construct Only
Default value: B_COMPASS_WEST
“show-major-labels”
property “show-major-labels” gboolean
Whether to draw labels next to major ticks.
Flags: Read / Write / Construct
Default value: TRUE
“show-major-ticks”
property “show-major-ticks” gboolean
Whether to draw major ticks.
Flags: Read / Write / Construct
Default value: TRUE