charts: Use numeric colors instead of color names.
[pspp-builds.git] / src / output / charts / box-whisker.c
index 301d762b8b8fca1039a6ed197c30457175097f93..24b2914593b4a1a9e1f224f5d6eb4ddb401aa166 100644 (file)
@@ -142,7 +142,10 @@ boxplot_draw_box (plPlotter *lp, const struct chart_geometry *geom,
 
   /* Draw the box */
   pl_savestate_r (lp);
-  pl_fillcolorname_r (lp, geom->fill_colour);
+  pl_fillcolor_r (lp,
+                  geom->fill_colour.red * 257,
+                  geom->fill_colour.green * 257,
+                  geom->fill_colour.blue * 257);
   pl_filltype_r (lp,1);
   pl_fbox_r (lp,
            box_left,