GtkDataboxBars

GtkDataboxBars — A GtkDataboxGraph used for displaying xy-values as vertical bars.

Synopsis


#include <gtkdatabox_bars.h>

                    GtkDataboxBarsPrivate;
                    GtkDataboxBars;
GtkDataboxGraph*    gtk_databox_bars_new                (guint len,
                                                         gfloat *X,
                                                         gfloat *Y,
                                                         GdkColor *color,
                                                         guint size);

Object Hierarchy

  GObject
   +----GtkDataboxGraph
         +----GtkDataboxXYCGraph
               +----GtkDataboxBars

Description

GtkDataboxBars is a GtkDataboxGraph class for displaying xy-values as vertical bars which rise/drop from y=0.

Details

GtkDataboxBarsPrivate

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.


GtkDataboxBars

typedef struct _GtkDataboxBars GtkDataboxBars;

GtkDataboxBars is a GtkDataboxGraph class for displaying xy-values as vertical bars which rise/drop from y=0.


gtk_databox_bars_new ()

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

len :

length of X and Y

X :

array of horizontal position values of markers

Y :

array of vertical position values of markers

color :

color of the markers

size :

marker size or line width (depending on the type)

Returns :

A new GtkDataboxBars object

See Also

GtkDatabox, GtkDataboxGraph, GtkDataboxPoints, GtkDataboxLines, GtkDataboxMarkers