added percentnan (VDEF PERCENT variant that ignores NAN) -- patch by Martin Sperl
[rrdtool.git] / src / rrd_graph.h
index 3f9a3f1..cc36c25 100644 (file)
 #include <cairo-ps.h>
 #include <pango/pangocairo.h>
 
+#ifdef HAVE_LIBGEN_H
+/* for basename */
+#  include <libgen.h>
+#endif
+
 #include "rrd_tool.h"
 #include "rrd_rpncalc.h"
 
@@ -65,6 +70,7 @@ enum vdef_op_en {
         , VDEF_LSLSLOPE /* least squares line slope */
         , VDEF_LSLINT   /* least squares line y_intercept */
         , VDEF_LSLCORREL    /* least squares line correlation coefficient */
+        , VDEF_PERCENTNAN  /* Nth percentile ignoring NAN*/
 };
 enum text_prop_en { 
     TEXT_PROP_DEFAULT = 0,  /* default settings */