From 914a4711a850b2b68714fa5f63e1251b7997cd4c Mon Sep 17 00:00:00 2001 From: oetiker Date: Mon, 11 Jun 2007 16:33:59 +0000 Subject: [PATCH] fix arrow locations git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1111 a5681a0c-68f1-0310-ab6d-d61299d08faa --- src/rrd_graph.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/rrd_graph.c b/src/rrd_graph.c index 83887b4..aeea5dd 100644 --- a/src/rrd_graph.c +++ b/src/rrd_graph.c @@ -2406,11 +2406,12 @@ void axis_paint( /* arrow for X and Y axis direction */ - gfx_new_area(im, im->xorigin + im->xsize + 2, im->yorigin - 2, im->xorigin + im->xsize + 2, im->yorigin + 3, im->xorigin + im->xsize + 7, im->yorigin + 0.5, /* LINEOFFSET */ + + gfx_new_area(im, im->xorigin + im->xsize + 2, im->yorigin - 3, im->xorigin + im->xsize + 2, im->yorigin + 3, im->xorigin + im->xsize + 7, im->yorigin, /* horyzontal */ im->graph_col[GRC_ARROW]); gfx_close_path(im); - gfx_new_area(im, im->xorigin - 2, im->yorigin - im->ysize - 2, im->xorigin + 3, im->yorigin - im->ysize - 2, im->xorigin + 0.5, im->yorigin - im->ysize - 7, /* LINEOFFSET */ + gfx_new_area(im, im->xorigin - 3, im->yorigin - im->ysize - 2, im->xorigin + 3, im->yorigin - im->ysize - 2, im->xorigin, im->yorigin - im->ysize - 7, /* vertical */ im->graph_col[GRC_ARROW]); gfx_close_path(im); -- 2.30.2