Top | ![]() |
![]() |
![]() |
![]() |
BDashing | dashing | Read / Write / Construct |
gboolean | draw-line | Read / Write / Construct |
gchar * | label | Read / Write |
gpointer | line-color | Read / Write |
gdouble | line-width | Read / Write / Construct |
BMarker | marker | Read / Write / Construct |
gpointer | marker-color | Read / Write |
gdouble | marker-size | Read / Write / Construct |
gboolean | show | Read / Write / Construct |
BVector * | x-data | Read / Write |
BData * | x-err | Read / Write |
BVector * | y-data | Read / Write |
BData * | y-err | Read / Write |
Controls for a pair of X and Y data shown in a line/scatter plot. Holds X and Y vectors and style information.
BData * b_scatter_series_set_x_array (BScatterSeries *ss
,const double *arr
,guint n
);
Creates a BValVector and adds to the series as its X vector.
BData * b_scatter_series_set_y_array (BScatterSeries *ss
,const double *arr
,guint n
);
Creates a BValVector and adds to the series as its Y vector.
void b_scatter_series_set_line_color_from_string (BScatterSeries *ss
,gchar *colorstring
);
Set the color to use to draw the line in a scatter plot for the data in ss
.
void b_scatter_series_set_marker_color_from_string (BScatterSeries *ss
,gchar *colorstring
);
Set the color to use to draw markers in a scatter plot for the data in ss
.
gboolean
b_scatter_series_get_show (BScatterSeries *ss
);
Get whether to actually draw the series.
Returns TRUE
if the series should be drawn.
Enum values used to specify whether and what to use for the marker in a scatter plot.
“dashing”
property“dashing” BDashing
Preset line dashing.
Flags: Read / Write / Construct
Default value: B_DASHING_SOLID
“draw-line”
property “draw-line” gboolean
Whether to draw a line between points.
Flags: Read / Write / Construct
Default value: TRUE
“label”
property “label” gchar *
The string associated with the series. Used, for example, in the legend.
Flags: Read / Write
Default value: "Untitled"
“line-width”
property “line-width” gdouble
The line width in pixels.
Flags: Read / Write / Construct
Allowed values: [0,100]
Default value: 1
“marker”
property“marker” BMarker
The marker.
Flags: Read / Write / Construct
Default value: B_MARKER_NONE
“marker-size”
property “marker-size” gdouble
The marker size in pixels.
Flags: Read / Write / Construct
Allowed values: [1,100]
Default value: 5
“show”
property “show” gboolean
Whether to draw the series.
Flags: Read / Write / Construct
Default value: TRUE
“x-err”
property“x-err” BData *
Error bar data for horizontal axis. Can be a #YScalar or #YVector.
Flags: Read / Write
“y-err”
property“y-err” BData *
Error bar data for vertical axis. Can be a #YScalar or #YVector.
Flags: Read / Write