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=5d489646dd5b0c4255c608691a91e639dd8c2ece;hp=87409b1a90937bd76a62c668e033df74bbc80aea;hpb=7ddd4ae15db78c8c31b51645ce215bc97929167a;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); }