summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIgor Sfiligoi <isfiligoi@ucsd.edu>2012-09-12 19:07:49 +0000
committerIgor Sfiligoi <isfiligoi@ucsd.edu>2012-09-12 19:07:49 +0000
commite16980b09546fe767d9e45819500519bb34de243 (patch)
tree947448193dca05c9e5edc8f6b37392102d99388b /src
parentd16f25b9f15ef04214bf7828386ec25ad6743ee9 (diff)
Add a bit of documentation
Diffstat (limited to 'src')
-rw-r--r--src/lib/rrdFlot.js4
1 files changed, 3 insertions, 1 deletions
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: "<h4>%s</h4> Value: %y.3" }
* }
*
* ds_graph_options is a dictionary of DS_name,