[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r15055 - gauger/web
From: |
gnunet |
Subject: |
[GNUnet-SVN] r15055 - gauger/web |
Date: |
Wed, 20 Apr 2011 16:43:46 +0200 |
Author: bartpolot
Date: 2011-04-20 16:43:46 +0200 (Wed, 20 Apr 2011)
New Revision: 15055
Modified:
gauger/web/plot.php
Log:
Fixed bug in normalizing float values
Modified: gauger/web/plot.php
===================================================================
--- gauger/web/plot.php 2011-04-20 14:27:30 UTC (rev 15054)
+++ gauger/web/plot.php 2011-04-20 14:43:46 UTC (rev 15055)
@@ -157,7 +157,7 @@
if($c) $plotcmd .= ',';
$plotcmd .= escapeshellcmd(" \"$DATADIR$host/$graph.dat\"");
if($norm) {
- $metric_max = (int)get_local_maximum($host, $graph,
$range_start, $range_end);
+ $metric_max = (float)get_local_maximum($host, $graph,
$range_start, $range_end);
$plotcmd .= " using 1:($2*100/$metric_max)";
}
$plotcmd .= " title \"";
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r15055 - gauger/web,
gnunet <=