Top |
Properties
gchar * | axis | Read / Write |
gboolean | horizontal | Read / Write |
gint | tick-size-pts | Read / Write |
gdouble | width | Read / Write |
Description
A color scale has two parts: an axis, and a rectangle filled by the colors corresponding to the axis scale. It can be displayed horizontally or vertically.
Functions
gog_color_scale_get_axis ()
GogAxis *
gog_color_scale_get_axis (GogColorScale *scale
);
Gets the axis mapping to the colors and associated with scale
gog_color_scale_set_axis ()
void gog_color_scale_set_axis (GogColorScale *scale
,GogAxis *axis
);
Associates the axis with scale
.
Property Details
The “axis”
property
“axis” gchar *
Reference to the color or pseudo-3d axis.
Flags: Read / Write
Default value: NULL
The “horizontal”
property
“horizontal” gboolean
Whether to display the scale horizontally.
Flags: Read / Write
Default value: FALSE
The “tick-size-pts”
property
“tick-size-pts” gint
Size of the tick marks, in points.
Flags: Read / Write
Allowed values: [0,20]
Default value: 4