--- a/rrdweb/graph.py Tue Dec 08 20:53:55 2009 +0200
+++ b/rrdweb/graph.py Tue Dec 08 20:54:13 2009 +0200
@@ -49,8 +49,18 @@
width = 600,
height = 50,
), [
- "LINE1:in#0000FF:%4s" % "In",
- "LINE1:out#00CC00:%4s" % "Out",
+ "CDEF:all=in,out,+",
+
+ "VDEF:max=all,MAXIMUM",
+ "VDEF:avg=all,AVERAGE",
+ "VDEF:min=all,MINIMUM",
+
+ "LINE1:in#0000FF:In",
+ "LINE1:out#00CC00:Out",
+
+ "GPRINT:max:%6.2lf %Sbps max",
+ "GPRINT:avg:%6.2lf %Sbps avg",
+ "GPRINT:min:%6.2lf %Sbps min\\l",
]
def detail_opts () :