![]() |
![]() |
![]() |
GtkDatabox Reference Manual | ![]() |
---|---|---|---|---|
GtkDataboxBarsGtkDataboxBars — A GtkDataboxGraph used for displaying xy-values as vertical bars. |
#include <gtkdatabox_bars.h> GtkDataboxBarsPrivate; GtkDataboxBars; GtkDataboxGraph* gtk_databox_bars_new (guint len, gfloat *X, gfloat *Y, GdkColor *color, guint size);
GtkDataboxBars is a GtkDataboxGraph class for displaying xy-values as vertical bars which rise/drop from y=0.
typedef struct _GtkDataboxBarsPrivate GtkDataboxBarsPrivate;
A private data structure used by the GtkDataboxBars. It shields all internal things from developers who are just using the object.
typedef struct _GtkDataboxBars GtkDataboxBars;
GtkDataboxBars is a GtkDataboxGraph class for displaying xy-values as vertical bars which rise/drop from y=0.
GtkDataboxGraph* gtk_databox_bars_new (guint len, gfloat *X, gfloat *Y, GdkColor *color, guint size);
Creates a new GtkDataboxBars object which can be added to a GtkDatabox widget
|
length of X and Y
|
|
array of horizontal position values of markers |
|
array of vertical position values of markers |
|
color of the markers |
|
marker size or line width (depending on the type )
|
Returns : |
A new GtkDataboxBars object |