projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
When selecting the x-axis label take the length of the time shown in the graph into...
[rrdtool.git]
/
src
/
rrd_graph.h
diff --git
a/src/rrd_graph.h
b/src/rrd_graph.h
index
9ced52e
..
5a8af09
100644
(file)
--- 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_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 */
};
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 */
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 ?*/
enum tmt_en gridtm; /* grid interval in what ?*/
long gridst; /* how many whats per grid*/
enum tmt_en mgridtm; /* label interval in what ?*/