Top | ![]() |
![]() |
![]() |
![]() |
void | b_scatter_line_view_add_series () |
GList * | b_scatter_line_view_get_all_series () |
void | b_scatter_line_view_remove_series () |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkDrawingArea ╰── BElementView ╰── BElementViewCartesian ╰── BScatterLineView
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.
void b_scatter_line_view_add_series (BScatterLineView *v
,BScatterSeries *s
);
Add a series to the plot v
.
GList *
b_scatter_line_view_get_all_series (BScatterLineView *v
);
Get the GList containing all 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.