summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpyrocyon <pyrocyon>2011-08-15 23:35:50 +0000
committerpyrocyon <pyrocyon>2011-08-15 23:35:50 +0000
commitdfb46413a1c562bdcff16d306c0cde1393bdecd7 (patch)
tree9a198c9099881a29e6335fc505a1629526be904e
parenta979994ca12b19f918953078278dfeab7e2a52b8 (diff)
Tooltips added to graph_options in the documentation.
-rw-r--r--doc/lib/rrdFlotMatrix_js.html2
-rw-r--r--doc/lib/rrdFlot_js.html2
2 files changed, 4 insertions, 0 deletions
diff --git a/doc/lib/rrdFlotMatrix_js.html b/doc/lib/rrdFlotMatrix_js.html
index 758786d..ab99bcf 100644
--- a/doc/lib/rrdFlotMatrix_js.html
+++ b/doc/lib/rrdFlotMatrix_js.html
@@ -117,6 +117,8 @@ creates an interactive
legend: {position:"nw",noColumns:3},
lines: { show:true },
yaxis: { autoscaleMargin: 0.20},
+ tooltip: true,
+ tooltipOpts: { content: "&lth4&gt%s&lt/h4&gt Value: %y.3" }, // %s: series text, %y.3: y-value toPrecision(3)
};
</PRE></P>
</TD>
diff --git a/doc/lib/rrdFlot_js.html b/doc/lib/rrdFlot_js.html
index 29640c6..167a14a 100644
--- a/doc/lib/rrdFlot_js.html
+++ b/doc/lib/rrdFlot_js.html
@@ -96,6 +96,8 @@ creates an interactive
legend: {position:"nw",noColumns:3},
lines: { show:true },
yaxis: { autoscaleMargin: 0.20},
+ tooltip: true,
+ tooltipOpts: { content: "&lth4&gt%s&lt/h4&gt Value: %y.3" }, // %s: series text, %y.3: y-value toPrecision(3)
};
</PRE></P>
</TD>