2007-07-15 zzz

* Add current values to graph legends
    * Fix up previous Rate fix to check for divide by zero
This commit is contained in:
zzz
2007-07-15 18:34:33 +00:00
committed by zzz
parent 4acd2996c5
commit 5c1dc79767
5 changed files with 23 additions and 11 deletions

View File

@@ -151,7 +151,7 @@ public class StatSummarizer implements Runnable {
//long begin = System.currentTimeMillis();
try {
RrdGraphDef def = new RrdGraphDef();
def.setTimePeriod(start/1000, end/1000);
def.setTimePeriod(start/1000, 0);
def.setBaseValue(1024);
String title = "Bandwidth usage";
if (!hideTitle)