From e16980b09546fe767d9e45819500519bb34de243 Mon Sep 17 00:00:00 2001 From: Igor Sfiligoi Date: Wed, 12 Sep 2012 19:07:49 +0000 Subject: Add a bit of documentation --- src/lib/rrdFlot.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/lib/rrdFlot.js b/src/lib/rrdFlot.js index 7fb80a6..4a0a5c7 100644 --- a/src/lib/rrdFlot.js +++ b/src/lib/rrdFlot.js @@ -31,7 +31,9 @@ * { * legend: { position:"nw",noColumns:3}, * lines: { show:true }, - * yaxis: { autoscaleMargin: 0.20} + * yaxis: { autoscaleMargin: 0.20}, + * tooltip: true, + * tooltipOpts: { content: "

%s

Value: %y.3" } * } * * ds_graph_options is a dictionary of DS_name, -- cgit v1.2.3