From 996518fa0ac0bc0ebb1a830d302ba62ea3565b10 Mon Sep 17 00:00:00 2001 From: Igor Sfiligoi Date: Fri, 8 Nov 2013 05:38:00 +0000 Subject: Change argument order for rrdFlotMatrixAsync, for better groupping --- src/lib/rrdFlotAsync.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/lib/rrdFlotAsync.js b/src/lib/rrdFlotAsync.js index dbf6293..1b90725 100644 --- a/src/lib/rrdFlotAsync.js +++ b/src/lib/rrdFlotAsync.js @@ -209,8 +209,9 @@ rrdFlotSumAsync.prototype.callback = function() { /* Use url_list==null if you do not know the urls yet */ function rrdFlotMatrixAsync(html_id, - url_pair_list, ds_list, // see rrdFlotMatrix.js::rrdFlotMatrix for documentation of these + url_pair_list, // see rrdFlotMatrix.js::rrdFlotMatrix for documentation file_options, // see rrdFile.js::RRDFile for documentation + ds_list, // see rrdFlotMatrix.js::rrdFlotMatrix for documentation graph_options, rrd_graph_options, rrdflot_defaults, // see rrdFlotMatrix.js::rrdFlotMatrix for documentation of these ds_op_list, // if defined, see rrdFilter.js::RRDFilterOp for documentation rra_op_list, // if defined, see rrdFilter.js::RRDRRAFilterAvg for documentation @@ -218,8 +219,8 @@ function rrdFlotMatrixAsync(html_id, ) { this.html_id=html_id; this.url_pair_list=url_pair_list; - this.ds_list=ds_list; this.file_options=file_options; + this.ds_list=ds_list; this.graph_options=graph_options; this.rrd_graph_options=rrd_graph_options; this.rrdflot_defaults=rrdflot_defaults; -- cgit v1.1-4-g5e80