GtkDataboxXYCGraph

## GtkDataboxXYCGraph GtkDataboxXYCGraph — An abstract anchestor for all graphs which display xy-values in one color. |

## Synopsis

    #include <gtkdatabox_xyc_graph.h>

                        GtkDataboxXYCGraphPrivate;
                        GtkDataboxXYCGraph;
    guint               gtk_databox_xyc_graph_get_length    (GtkDataboxXYCGraph *xyc_graph);
    gfloat*             gtk_databox_xyc_graph_get_X         (GtkDataboxXYCGraph *xyc_graph);
    gfloat*             gtk_databox_xyc_graph_get_Y         (GtkDataboxXYCGraph *xyc_graph);

## Object Hierarchy

      GObject
       +----GtkDataboxGraph
             +----GtkDataboxXYCGraph
                   +----GtkDataboxPoints
                   +----GtkDataboxLines
                   +----GtkDataboxBars
                   +----GtkDataboxMarkers

## Properties

      "X-Values"                 gpointer              : Read / Write / Construct Only
      "Y-Values"                 gpointer              : Read / Write / Construct Only
      "length"                   gint                  : Read / Write / Construct Only

## Description

GtkDataboxXYCGraphs are an abstract class for displaying XY-data in one color. The values for the data are represented as an array of X values and a second array of Y values. In order to actually display data, you should use one of the derived classes.

## Details

### GtkDataboxXYCGraphPrivate

    typedef struct _GtkDataboxXYCGraphPrivate GtkDataboxXYCGraphPrivate;

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

### GtkDataboxXYCGraph

    typedef struct _GtkDataboxXYCGraph GtkDataboxXYCGraph;

GtkDataboxXYCGraphs are an abstract class for displaying XY-data in one color. The values for the data are represented as an array of X values and a second array of Y values. In order to actually display data, you should use one of the derived classes.

### gtk_databox_xyc_graph_get_length ()

    guint               gtk_databox_xyc_graph_get_length    (GtkDataboxXYCGraph *xyc_graph);

Gets the the length of the X and Y values arrays.

`xyc_graph` : | A GtkDataboxXYCGraph object
Returns : | Length of X/Y arrays.

### gtk_databox_xyc_graph_get_X ()

    gfloat*             gtk_databox_xyc_graph_get_X         (GtkDataboxXYCGraph *xyc_graph);

Gets the X values of the `xzc_graph`.

`xyc_graph` : | A GtkDataboxXYCGraph object
Returns : | Pointer to X values

### gtk_databox_xyc_graph_get_Y ()

    gfloat*             gtk_databox_xyc_graph_get_Y         (GtkDataboxXYCGraph *xyc_graph);

Gets the Y values of the `xzc_graph`.

`xyc_graph` : | A GtkDataboxXYCGraph object
Returns : | Pointer to Y values

## Property Details

### The `"X-Values"` property

      "X-Values"                 gpointer              : Read / Write / Construct Only

X values of data.

### The `"Y-Values"` property

      "Y-Values"                 gpointer              : Read / Write / Construct Only

Y values of data.

### The `"length"` property

      "length"                   gint                  : Read / Write / Construct Only

number of data points.

Default value: 0

## See Also

GtkDatabox, GtkDataboxGraph, GtkDataboxPoints, GtkDataboxLines, GtkDataboxBars