X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrd_graph.h;h=5a8af09aff5e4bc2e7be626abcf8249fa607b569;hb=a594d80c2349e0c711d12114256ae889564e41c1;hp=9ced52ee71fb5e60f59b564f9c72e24d75564d8e;hpb=1c19a4c8f01e04124caefc3394c19e00a4c5d78e;p=rrdtool.git diff --git a/src/rrd_graph.h b/src/rrd_graph.h index 9ced52e..5a8af09 100644 --- a/src/rrd_graph.h +++ b/src/rrd_graph.h @@ -42,6 +42,9 @@ enum vdef_op_en { ,VDEF_TOTAL /* average multiplied by time */ ,VDEF_FIRST /* first non-unknown value and time */ ,VDEF_LAST /* last non-unknown value and time */ + ,VDEF_LSLSLOPE /* least squares line slope */ + ,VDEF_LSLINT /* least squares line y_intercept */ + ,VDEF_LSLCORREL /* least squares line correlation coefficient */ }; enum text_prop_en { TEXT_PROP_DEFAULT=0, /* default settings */ TEXT_PROP_TITLE, /* properties for the title */ @@ -65,6 +68,7 @@ typedef struct vdef_t { typedef struct xlab_t { long minsec; /* minimum sec per pix */ + long length; /* number of secs on the image */ enum tmt_en gridtm; /* grid interval in what ?*/ long gridst; /* how many whats per grid*/ enum tmt_en mgridtm; /* label interval in what ?*/