X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fcharts%2Fplot-hist-cairo.c;h=a9a5d44f58b475aef164f8fe9077008d4264ece8;hb=23c5ab34eec1b2c2fef34155620c7cab670175f0;hp=87409b1a90937bd76a62c668e033df74bbc80aea;hpb=6b3938165488f5562ab4c1e4a808f2f36407956c;p=pspp diff --git a/src/output/charts/plot-hist-cairo.c b/src/output/charts/plot-hist-cairo.c index 87409b1a90..a9a5d44f58 100644 --- a/src/output/charts/plot-hist-cairo.c +++ b/src/output/charts/plot-hist-cairo.c @@ -102,7 +102,7 @@ hist_draw_bar (cairo_t *cr, const struct xrchart_geometry *geom, cairo_stroke (cr); if (label) - draw_tick (cr, geom, SCALE_ABSCISSA, + draw_tick (cr, geom, SCALE_ABSCISSA, bins > 10, x_pos + width / 2.0, "%g", (upper + lower) / 2.0); }