From 8ba96f686e98dc592d13457cc4aa82e56e75a6f7 Mon Sep 17 00:00:00 2001 From: alisonjm Date: Wed, 8 Jun 2011 21:24:57 +0000 Subject: Added new documentation for rrdFilter.js, and updated all other documentation reflecting new changes in javascriptrrd, with major changes being the addition of RRDFilterShift and RRDRRAFilterAvg methods and extension to rrdflot_defaults options. --- doc/lib/rrdFlot_js.html | 36 ++++++++++++++++++++++++++---------- 1 file changed, 26 insertions(+), 10 deletions(-) (limited to 'doc/lib/rrdFlot_js.html') diff --git a/doc/lib/rrdFlot_js.html b/doc/lib/rrdFlot_js.html index d3c2660..b517b66 100644 --- a/doc/lib/rrdFlot_js.html +++ b/doc/lib/rrdFlot_js.html @@ -128,20 +128,36 @@ creates an interactive

rrdflot_defaults (optional)

-

Dictionary of rrd_flot options. +

Dictionary of rrd_flot options. All are optional.

The recognized elements and the default values are:

    {
-     legend: "Top"         //Starting location of legend. Options are: 
-                           //"Top","Bottom","TopRight","BottomRight","None".
-     num_cb_rows: 12       //How many rows of DS checkboxes per column.
-     multi_ds: false       //"true" appends the name of the aggregation function to the 
-                           //name of the DS element. 
-     multi_rra: false      //"true" appends the name of the RRA consolidation function (CF) 
-                           //(AVERAGE, MIN, MAX or LAST) to the name of the RRA. Useful for 
-                           //RRAs over the same interval with different CFs.  
-   }
+     legend: "Top"            //Starting location of legend. Options are: 
+                              //   "Top","Bottom","TopRight","BottomRight","None".
+     num_cb_rows: 12          //How many rows of DS checkboxes per column.
+     use_elem_buttons: false  //To be used in conjunction with num_cb_rows: This option
+                              //    creates a button above every column, which selects
+                              //    every element in the column. 
+     multi_ds: false          //"true" appends the name of the aggregation function to the 
+                              //    name of the DS element. 
+     multi_rra: false         //"true" appends the name of the RRA consolidation function (CF) 
+                              //    (AVERAGE, MIN, MAX or LAST) to the name of the RRA. Useful 
+                              //    for RRAs over the same interval with different CFs.  
+     use_checked_DSs: false   //Use the list checked_DSs below.
+     checked_DSs: []          //List of elements to be checked by default when graph is loaded. 
+                              //    Overwrites graph options. 
+     use_rra: false           //Whether to use the rra index specified below.
+     rra: 0                   //RRA (rra index in rrd) to be selected when graph is loaded. 
+     use_windows: false       //Whether to use the window zoom specifications below.
+     window_min: 0            //Sets minimum for window zoom. X-axis usually in unix time. 
+     window_max: 0            //Sets maximum for window zoom.
+     graph_height: "300px"    //Height of main graph. 
+     graph_width: "500px"     //Width of main graph.
+     scale_height: "110px"    //Height of small scaler graph.
+     scale_width: "250px"     //Width of small scaler graph.
+  } 
 

+See the rrdflot_defaults in action. -- cgit v1.2.3-2-g168b