charts: Use numeric colors instead of color names.
[pspp-builds.git] / src / output / charts / plot-hist.c
index d647dd71fe15d1daead0d2935701c60a731f7b68..0e52889f0c7a95df5968e92a55c86dfea8819361 100644 (file)
@@ -96,7 +96,10 @@ hist_draw_bar (plPlotter *lp, const struct chart_geometry *geom,
 
   pl_savestate_r (lp);
   pl_move_r (lp,geom->data_left, geom->data_bottom);
-  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);