Index: trunk/htdocs/cacher/cacher.php
===================================================================
--- trunk/htdocs/cacher/cacher.php	(revision 1066)
+++ trunk/htdocs/cacher/cacher.php	(revision 1068)
@@ -34,4 +34,7 @@
 		if ($config['percent_graph_type'] != 'free') {
 			$v = 1 - $v;
+		}
+		if ($k % 30 == 0) {
+			$v = 1;
 		}
 		$v = (int) ($v * $c);
@@ -86,7 +89,12 @@
 	$percent = (int) ($percent * 100);
 	$a = $active ? ' active' : '';
+	$height = 20;
+	$valueHeight = ceil($height * $percent / 100);
+	$paddingHeight = $height - $valueHeight;
+	$valueHeight = $valueHeight ? $valueHeight . "px" : 0;
+	$paddingHeight = $paddingHeight ? $paddingHeight . "px" : 0;
 	return '<div title="' . $v . '">'
-		. '<div class="barf' . $a . '" style="height: ' . (100 - $percent) . '%"></div>'
-		. '<div class="barv' . $a . '" style="background: rgb(' . "$r,$g,$b" . '); height: ' . $percent . '%"></div>'
+		. '<div class="barf' . $a . '" style="height: ' . $paddingHeight . '"></div>'
+		. '<div class="barv' . $a . '" style="background: rgb(' . "$r,$g,$b" . '); height: ' . $valueHeight . '"></div>'
 		. '</div>';
 }
