From d0f0adf88d4bd9a1b5a96e209f8b6651259ebb60 Mon Sep 17 00:00:00 2001
From: Igor Sfiligoi
The rrdFlotMatrix constructor has two to five arguments:
+The rrdFlotMatrix constructor has two to six arguments:
+ rrdflot_defaults (optional) + |
+
+ Dictionary of rrd_flot options. All are optional. +The recognized elements and the default values are: + + { + graph_only: false // If true, limit the display to the graph only + 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_element_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_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_RRDs: false //Use the list checked_RRDs below. + checked_RRDs: [] //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. + } ++ |
+
Once instatiated, the object will automatically draw the plot and handle user interaction.
-- cgit v1.1-4-g5e80