BScatterLineView

BScatterLineView — View for a scatter and/or line plot.

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkDrawingArea
                ╰── BElementView
                    ╰── BElementViewCartesian
                        ╰── BScatterLineView

Implemented Interfaces

BScatterLineView implements AtkImplementorIface and GtkBuildable.

Description

Displays a line and/or scatter plot, e.g. y as a function of x. Collections of (x,y) pairs are grouped into series, each of which has its own style (type of marker, line color and dash type, etc.). Series are created using BScatterSeries and added using b_scatter_line_view_add_series().

The axis type to use to get the horizontal axis is X_AXIS, and the axis type to get the vertical axis is Y_AXIS.

Functions

b_scatter_line_view_add_series ()

void
b_scatter_line_view_add_series (BScatterLineView *v,
                                BScatterSeries *s);

Add a series to the plot v .

Parameters

v

a BScatterLineView

 

s

a BScatterSeries.

[transfer full]

b_scatter_line_view_get_all_series ()

GList *
b_scatter_line_view_get_all_series (BScatterLineView *v);

Get the GList containing all series.

Parameters

Returns

a GList.

[transfer none][element-type BScatterSeries]


b_scatter_line_view_remove_series ()

void
b_scatter_line_view_remove_series (BScatterLineView *v,
                                   const gchar *label);

Remove the series with the label label . Note that if more than one series is carries label , only the first one will be removed.

Parameters

v

a BScatterLineView

 

label

a label

 

Types and Values

BScatterLineView

typedef struct _BScatterLineView BScatterLineView;