X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Frrd_graph.h;fp=src%2Frrd_graph.h;h=0593d4a931207c1351c3d235c121d160c99a298c;hb=ffa00ac697dccce18dca8880ca7a14066521ac5c;hp=1cab51e2242d1d6b04ad59e9efab63ff91966f7e;hpb=51c3d3fb997c22e1ee828470413f1e84989e1f6c;p=pkg-rrdtool.git diff --git a/src/rrd_graph.h b/src/rrd_graph.h index 1cab51e..0593d4a 100644 --- a/src/rrd_graph.h +++ b/src/rrd_graph.h @@ -11,10 +11,6 @@ #include #include -#ifdef HAVE_LIBGEN_H -/* for basename */ -# include -#endif #include "rrd_tool.h" #include "rrd_rpncalc.h" @@ -70,6 +66,7 @@ enum vdef_op_en { , VDEF_LSLSLOPE /* least squares line slope */ , VDEF_LSLINT /* least squares line y_intercept */ , VDEF_LSLCORREL /* least squares line correlation coefficient */ + , VDEF_PERCENTNAN /* Nth percentile ignoring NAN*/ }; enum text_prop_en { TEXT_PROP_DEFAULT = 0, /* default settings */ @@ -81,6 +78,8 @@ enum text_prop_en { TEXT_PROP_LAST }; +enum legend_pos{ NORTH = 0, WEST, SOUTH, EAST }; +enum legend_direction { TOP_DOWN = 0, BOTTOM_UP }; enum gfx_if_en { IF_PNG = 0, IF_SVG, IF_EPS, IF_PDF }; enum gfx_en { GFX_LINE = 0, GFX_AREA, GFX_TEXT }; @@ -227,10 +226,13 @@ typedef struct image_desc_t { char *imginfo; /* construct an