GtkDataboxPoints

GtkDataboxPoints — A GtkDataboxGraph used for displaying xy-values as dots.

Synopsis


#include <gtkdatabox_points.h>

                    GtkDataboxPointsPrivate;
                    GtkDataboxPoints;
GtkDataboxGraph*    gtk_databox_points_new              (guint len,
                                                         gfloat *X,
                                                         gfloat *Y,
                                                         GdkColor *color,
                                                         gint size);

Object Hierarchy

  GObject
   +----GtkDataboxGraph
         +----GtkDataboxXYCGraph
               +----GtkDataboxPoints

Description

GtkDataboxPoints is a GtkDataboxGraph class for displaying xy-values as dots.

Details

GtkDataboxPointsPrivate

typedef struct _GtkDataboxPointsPrivate GtkDataboxPointsPrivate;

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


GtkDataboxPoints

typedef struct _GtkDataboxPoints GtkDataboxPoints;

GtkDataboxPoints is a GtkDataboxGraph class for displaying xy-values as dots.


gtk_databox_points_new ()

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

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

See Also

GtkDatabox, GtkDataboxGraph, GtkDataboxLines, GtkDataboxBars, GtkDataboxMarkers