From 7a424b1dfc8faed56af4785b520857839a01f0f4 Mon Sep 17 00:00:00 2001 From: Igor Sfiligoi Date: Thu, 7 Nov 2013 21:15:55 +0000 Subject: Async classes have additional arguments now --- src/examples/rrdJFlot.html | 2 +- src/examples/rrdJFlotDefaults.html | 2 +- src/examples/rrdJFlotFilter.html | 2 +- src/examples/rrdJFlotFilterRRA.html | 2 +- src/examples/rrdJFlotSimple.html | 4 ++-- src/examples/rrdJFlotThree.html | 2 +- src/examples/rrdJFlotTwo.html | 2 +- src/examples/rrdMatrixFlot.html | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/examples/rrdJFlot.html b/src/examples/rrdJFlot.html index 32dd9eb..9999785 100644 --- a/src/examples/rrdJFlot.html +++ b/src/examples/rrdJFlot.html @@ -57,7 +57,7 @@ lines: { show: true, fill: true} }, 'Running':{color: "#000000",yaxis:2}}; - flot_obj=new rrdFlotAsync("mygraph",null,graph_opts,ds_graph_opts); + flot_obj=new rrdFlotAsync("mygraph",null,null,graph_opts,ds_graph_opts); // this function is invoked when the RRD file name changes function fname_update() { diff --git a/src/examples/rrdJFlotDefaults.html b/src/examples/rrdJFlotDefaults.html index 7383ce7..5df8454 100644 --- a/src/examples/rrdJFlotDefaults.html +++ b/src/examples/rrdJFlotDefaults.html @@ -66,7 +66,7 @@ graph_width:"700px",graph_height:"300px", scale_width:"350px", scale_height:"200px", timezone:"-5"}; - flot_obj=new rrdFlotAsync("mygraph",null,graph_opts,ds_graph_opts,rrdflot_defaults); + flot_obj=new rrdFlotAsync("mygraph",null,null,graph_opts,ds_graph_opts,rrdflot_defaults); // this function is invoked when the RRD file name changes function fname_update() { diff --git a/src/examples/rrdJFlotFilter.html b/src/examples/rrdJFlotFilter.html index 61820ff..27c36a3 100644 --- a/src/examples/rrdJFlotFilter.html +++ b/src/examples/rrdJFlotFilter.html @@ -109,7 +109,7 @@ // we don't know what DSs we will get, so we have to use the callback // in principle, we could personalize ds_graph_opts in the callback as well, but we keep it simple here - flot_obj=new rrdFlotAsync("mygraph",null,graph_opts,ds_graph_opts,null,null,null,mycallback); + flot_obj=new rrdFlotAsync("mygraph",null,null,graph_opts,ds_graph_opts,null,null,null,mycallback); // this function is invoked when the RRD file name changes function fname_update() { diff --git a/src/examples/rrdJFlotFilterRRA.html b/src/examples/rrdJFlotFilterRRA.html index afa0bb3..78c659b 100644 --- a/src/examples/rrdJFlotFilterRRA.html +++ b/src/examples/rrdJFlotFilterRRA.html @@ -67,7 +67,7 @@ 1, [1,21600], // org(45mins), 6h 2, [2,86400], [2,259200], [2,604800]]; // org(8h), 24h, 3d, 1w - flot_obj=new rrdFlotAsync("mygraph",null,graph_opts,ds_graph_opts,null,null,rra_steps_list); + flot_obj=new rrdFlotAsync("mygraph",null,null,graph_opts,ds_graph_opts,null,null,rra_steps_list); // this function is invoked when the RRD file name changes function fname_update() { diff --git a/src/examples/rrdJFlotSimple.html b/src/examples/rrdJFlotSimple.html index d723405..98fc4c6 100644 --- a/src/examples/rrdJFlotSimple.html +++ b/src/examples/rrdJFlotSimple.html @@ -73,12 +73,12 @@ var graph_opts1={legend: { noColumns:4}, yaxis:{max:250,min:-200}}; var rrdflot_defaults1={graph_only:true,use_checked_DSs:true,checked_DSs:['SignChanger'],use_rra:true,rra:1} // the rrdFlotAsync object creates and handles the graph - var f1=new rrdFlotAsync("mygraph1","example3.rrd",graph_opts1,ds_graph_opts,rrdflot_defaults1); + var f1=new rrdFlotAsync("mygraph1","example3.rrd",null,graph_opts1,ds_graph_opts,rrdflot_defaults1); var graph_opts2={legend: { noColumns:4}, yaxis:{min:100},tooltipOpts:{content:"MyValue: %y.3"}}; var rrdflot_defaults2={graph_only:true,use_checked_DSs:true,checked_DSs:['Oscilator'],use_rra:true,rra:0} // the rrdFlotAsync object creates and handles the graph - var f2=new rrdFlotAsync("mygraph2","example3.rrd",graph_opts2,ds_graph_opts,rrdflot_defaults2); + var f2=new rrdFlotAsync("mygraph2","example3.rrd",null,graph_opts2,ds_graph_opts,rrdflot_defaults2); diff --git a/src/examples/rrdJFlotThree.html b/src/examples/rrdJFlotThree.html index bb5998b..0d36705 100644 --- a/src/examples/rrdJFlotThree.html +++ b/src/examples/rrdJFlotThree.html @@ -60,7 +60,7 @@ lines: { show: true, fill: true, fillColor:"#00ff00"}}}; // the rrdFlot object creates and handles the graph - flot_obj=new rrdFlotSumAsync("mygraph",null,graph_opts,ds_graph_opts); + flot_obj=new rrdFlotSumAsync("mygraph",null,null,null,graph_opts,ds_graph_opts); // this function is invoked when the RRD file name changes function fname_update() { diff --git a/src/examples/rrdJFlotTwo.html b/src/examples/rrdJFlotTwo.html index ce015f5..d92a0cc 100644 --- a/src/examples/rrdJFlotTwo.html +++ b/src/examples/rrdJFlotTwo.html @@ -58,7 +58,7 @@ 'Running':{color: "#000000",yaxis:2}}; // the rrdFlot object creates and handles the graph - flot_obj=new rrdFlotSumAsync("mygraph",null,graph_opts,ds_graph_opts); + flot_obj=new rrdFlotSumAsync("mygraph",null,null,null,graph_opts,ds_graph_opts); // this function is invoked when the RRD file name changes function fname_update() { diff --git a/src/examples/rrdMatrixFlot.html b/src/examples/rrdMatrixFlot.html index 2929011..261ab8b 100644 --- a/src/examples/rrdMatrixFlot.html +++ b/src/examples/rrdMatrixFlot.html @@ -54,7 +54,7 @@ } - flot_obj=new rrdFlotMatrixAsync("mygraph",null,null,{legend:{position:'ne'}},{'s2':{checked:false},'s1':{title:'First rrd'}}); + flot_obj=new rrdFlotMatrixAsync("mygraph",null,null,null,{legend:{position:'ne'}},{'s2':{checked:false},'s1':{title:'First rrd'}}); // this function is invoked when the RRD file name changes function fname_update() { -- cgit v1.1-4-g5e80