GtkDataboxLines

GtkDataboxLines — A GtkDataboxGraph used for displaying xy-values series of connected lines.

Synopsis


#include <gtkdatabox_lines.h>

                    GtkDataboxLinesPrivate;
                    GtkDataboxLines;
GtkDataboxGraph*    gtk_databox_lines_new               (guint len,
                                                         gfloat *X,
                                                         gfloat *Y,
                                                         GdkColor *color,
                                                         guint size);

Object Hierarchy

  GObject
   +----GtkDataboxGraph
         +----GtkDataboxXYCGraph
               +----GtkDataboxLines

Description

GtkDataboxLines is a GtkDataboxGraph class for displaying xy-values as series of connected lines.

Details

GtkDataboxLinesPrivate

typedef struct _GtkDataboxLinesPrivate GtkDataboxLinesPrivate;

A private data structure used by the GtkDataboxLines. It shields all internal things from developers who are just using the object.


GtkDataboxLines

typedef struct _GtkDataboxLines GtkDataboxLines;

GtkDataboxLines is a GtkDataboxGraph class for displaying xy-values as series of connected lines.


gtk_databox_lines_new ()

GtkDataboxGraph*    gtk_databox_lines_new               (guint len,
                                                         gfloat *X,
                                                         gfloat *Y,
                                                         GdkColor *color,
                                                         guint size);

Creates a new GtkDataboxLines 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 GtkDataboxLines object

See Also

GtkDatabox, GtkDataboxGraph, GtkDataboxPoints, GtkDataboxBars, GtkDataboxMarkers