summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sfiligoi <isfiligoi@ucsd.edu>2013-11-01 17:12:53 +0000
committerIgor Sfiligoi <isfiligoi@ucsd.edu>2013-11-01 17:12:53 +0000
commit2fba2d06fc5b65b1948716832664197dc9a27134 (patch)
treebe4a86eaf7149176b348a2d0e502a381de2f8401
parentfd2472c2e8af45421d583dde0c2c78f6ca42b138 (diff)
Implement multi_rra - Patch provided by Marc DeTrano
-rw-r--r--src/lib/rrdFlot.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/rrdFlot.js b/src/lib/rrdFlot.js
index 4edc5d6..8621234 100644
--- a/src/lib/rrdFlot.js
+++ b/src/lib/rrdFlot.js
@@ -280,6 +280,7 @@ rrdFlot.prototype.populateRes = function() {
var rows=rra.getNrRows();
var period=step*rows;
var rra_label=rfs_format_time(step)+" ("+rfs_format_time(period)+" total)";
+ if (this.rrdflot_defaults.multi_rra) rra_label+=" "+rra.getCFName();
form_el.appendChild(new Option(rra_label,i));
}
if(this.rrdflot_defaults.use_rra) {form_el.selectedIndex = this.rrdflot_defaults.rra;}