X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=src%2Frrd_graph.h;h=1e02c624ad5269788c97c7d9a66a70aac1f7e4a3;hp=10f583a7cc3fd717ad7d8b40a1466456202dcf54;hb=f9e5bd6a9d41c4607291cbbd88280129184ab325;hpb=5b2064dee177834d41e3b7051faa7dc6cee85853 diff --git a/src/rrd_graph.h b/src/rrd_graph.h index 10f583a..1e02c62 100644 --- a/src/rrd_graph.h +++ b/src/rrd_graph.h @@ -8,13 +8,13 @@ #define MAX_VNAME_LEN 29 #define DEF_NAM_FMT "%29[-_A-Za-z0-9]" -#define ALTYGRID 0x01 /* use alternative y grid algorithm */ -#define ALTAUTOSCALE 0x02 /* use alternative algorithm to find lower and upper bounds */ +#define ALTYGRID 0x01 /* use alternative y grid algorithm */ +#define ALTAUTOSCALE 0x02 /* use alternative algorithm to find lower and upper bounds */ #define ALTAUTOSCALE_MAX 0x04 /* use alternative algorithm to find upper bounds */ -#define NOLEGEND 0x08 /* use no legend */ -#define NOMINOR 0x20 /* Turn off minor gridlines */ -#define ONLY_GRAPH 0x24 /* use only graph */ -#define FORCE_RULES_LEGEND 0x40 /* force printing of HRULE and VRULE legend */ +#define NOLEGEND 0x08 /* use no legend */ +#define NOMINOR 0x10 /* Turn off minor gridlines */ +#define ONLY_GRAPH 0x20 /* use only graph */ +#define FORCE_RULES_LEGEND 0x40 /* force printing of HRULE and VRULE legend */ enum tmt_en {TMT_SECOND=0,TMT_MINUTE,TMT_HOUR,TMT_DAY, @@ -35,7 +35,7 @@ enum gf_en {GF_PRINT=0,GF_GPRINT,GF_COMMENT,GF_HRULE,GF_VRULE,GF_LINE, GF_XPORT}; enum vdef_op_en { - VDEF_MAXIMUM /* like the MAX in (G)PRINT */ + VDEF_MAXIMUM=0 /* like the MAX in (G)PRINT */ ,VDEF_MINIMUM /* like the MIN in (G)PRINT */ ,VDEF_AVERAGE /* like the AVERAGE in (G)PRINT */ ,VDEF_PERCENT /* Nth percentile */