diff --git a/src/client/widgets/xyplot/xyplot.c b/src/client/widgets/xyplot/xyplot.c index 61a627f1572001f7bb7ab116358a3d1055d38a3f..0a2b9ed0b43d9f2be3ddcdbf92bf5558e5df3b50 100644 --- a/src/client/widgets/xyplot/xyplot.c +++ b/src/client/widgets/xyplot/xyplot.c @@ -1568,7 +1568,7 @@ static void xyplot_draw_plot_frame(XYPlot *p, cairo_t *cr, if (p->ylabel) xyplot_write_text_centered(cr, te_y.height, - x + 0.5 * h - 0.25 * te_y.width, + x + 0.5 * h - 0.125 * te_y.width, p->ylabel, -90.0 * M_PI / 180.0); @@ -1584,7 +1584,7 @@ static void xyplot_draw_plot_frame(XYPlot *p, cairo_t *cr, if (p->y2label) xyplot_write_text_centered(cr, width - 2.0 * te_y2.height, - x + 0.5 * h - 0.25 * te_y2.width, + x + 0.5 * h - 0.125 * te_y2.width, p->y2label, 90.0 * M_PI / 180.0);