Top | ![]() |
![]() |
![]() |
![]() |
#define | b_tick_position() |
#define | b_tick_type() |
#define | b_tick_has_label_only() |
#define | b_tick_is_major() |
#define | b_tick_is_minor() |
#define | b_tick_is_micro() |
#define | b_tick_is_rule() |
#define | b_tick_label() |
#define | b_tick_is_labelled() |
BAxisMarkers * | b_axis_markers_new () |
void | b_axis_markers_freeze () |
void | b_axis_markers_thaw () |
gint | b_axis_markers_size () |
const BTick * | b_axis_markers_get () |
void | b_axis_markers_clear () |
void | b_axis_markers_add () |
void | b_axis_markers_sort () |
void | b_axis_markers_populate_scalar () |
void | b_axis_markers_populate_scalar_log () |
void | b_axis_markers_populate_generic () |
#define b_tick_has_label_only(x) ((x)->type == B_TICK_NONE)
Get whether the tick shows a label but no line
#define b_tick_is_labelled(x) ((x)->label != NULL)
Get whether the tick has a label
void
b_axis_markers_freeze (BAxisMarkers *am
);
Increment the freeze count of am
, preventing it from updating.
void
b_axis_markers_thaw (BAxisMarkers *am
);
Reduce the freeze count of am
. When the freeze count reaches 0, am
will
respond to signals again.
gint
b_axis_markers_size (BAxisMarkers *am
);
Get the number of axis markers in am
.
const BTick * b_axis_markers_get (BAxisMarkers *am
,gint i
);
Get a tick from am
.
void b_axis_markers_add (BAxisMarkers *am
,double pos
,gint type
,const gchar *label
);
Add a tick to am
.
void
b_axis_markers_sort (BAxisMarkers *am
);
Sort the ticks in am
by their position.
void b_axis_markers_populate_scalar (BAxisMarkers *am
,double pos_min
,double pos_max
,gint goal
,gint radix
,gboolean percentage
);
Automatically populate am
with ticks, assuming that the view interval
scales linearly.
void b_axis_markers_populate_scalar_log (BAxisMarkers *am
,double min
,double max
,gint goal
,double base
);
Automatically populate am
with ticks, assuming that the view interval
scales logarithmically.
void b_axis_markers_populate_generic (BAxisMarkers *am
,gint type
,double min
,double max
);
Automatically populate am
with ticks, using aesthetically pleasing defaults
for the number of ticks.
struct BTick { double position; gint type; gchar *label; gboolean critical_label; };
Abstract base class for cartesian views.
“changed”
signalvoid user_function (BAxisMarkers *baxismarkers, gpointer user_data)
Flags: Run First