projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Recent spread-sheet-widget to version 0.2
[pspp]
/
src
/
output
/
charts
/
scatterplot-cairo.c
diff --git
a/src/output/charts/scatterplot-cairo.c
b/src/output/charts/scatterplot-cairo.c
index 211d2d60dcdf8b2fca15713f0da53ad952f9c1ae..86e54c6e5abc1ea826364d571270d81219450054 100644
(file)
--- a/
src/output/charts/scatterplot-cairo.c
+++ b/
src/output/charts/scatterplot-cairo.c
@@
-46,7
+46,7
@@
xrchart_draw_scatterplot (const struct chart_item *chart_item, cairo_t *cr,
int byvar_width = 0;
int i = 0;
const struct xrchart_colour *colour;
int byvar_width = 0;
int i = 0;
const struct xrchart_colour *colour;
-
+
if (spc->byvar)
byvar_width = var_get_width (spc->byvar);
if (spc->byvar)
byvar_width = var_get_width (spc->byvar);
@@
-97,7
+97,7
@@
xrchart_draw_scatterplot (const struct chart_item *chart_item, cairo_t *cr,
colour->red / 255.0,
colour->green / 255.0,
colour->blue / 255.0);
colour->red / 255.0,
colour->green / 255.0,
colour->blue / 255.0);
-
+
xrchart_datum (cr, geom, 0,
case_data_idx (c, SP_IDX_X)->f,
case_data_idx (c, SP_IDX_Y)->f);
xrchart_datum (cr, geom, 0,
case_data_idx (c, SP_IDX_X)->f,
case_data_idx (c, SP_IDX_Y)->f);