When selecting the x-axis label take the length of the time shown in the graph into...
[rrdtool.git] / src / rrd_graph.h
index 01b6799..5a8af09 100644 (file)
@@ -68,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 ?*/