X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrd_graph.h;h=51f3d3fbae49860ff27c82e0e8e7976174ace330;hb=2f9c0721d1f7e9eceae3d04e197d0e4a46eeb3b1;hp=00ab15ba1f1c90fe91958f9add1382c3c35826e7;hpb=c5200a11ec773ecc9bc2d30ffadd0af4a2317741;p=rrdtool.git diff --git a/src/rrd_graph.h b/src/rrd_graph.h index 00ab15b..51f3d3f 100644 --- a/src/rrd_graph.h +++ b/src/rrd_graph.h @@ -54,6 +54,7 @@ enum vdef_op_en { 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_STDEV /* the standard deviation */ , VDEF_PERCENT /* Nth percentile */ , VDEF_TOTAL /* average multiplied by time */ , VDEF_FIRST /* first non-unknown value and time */ @@ -170,6 +171,13 @@ typedef struct graph_desc_t { rrd_value_t *data; /* the raw data drawn from the rrd */ rrd_value_t *p_data; /* processed data, xsize elments */ double linewidth; /* linewideth */ + + /* dashed line stuff */ + int dash; /* boolean, draw dashed line? */ + double *p_dashes; /* pointer do dash array which keeps the lengths of dashes */ + int ndash; /* number of dash segments */ + double offset; /* dash offset along the line */ + enum txa_en txtalign; /* change default alignment strategy for text */ } graph_desc_t;